Here is the link.
Julia's coding blog - Practice makes perfect
From January 2015, she started to practice leetcode questions; she trains herself to stay focus, develops "muscle" memory when she practices those questions one by one. 2015年初, Julia开始参与做Leetcode, 开通自己第一个博客. 刷Leet code的题目, 她看了很多的代码, 每个人那学一点, 也开通Github, 发表自己的代码, 尝试写自己的一些体会. She learns from her favorite sports – tennis, 10,000 serves practice builds up good memory for a great serve. Just keep going. Hard work beats talent when talent fails to work hard.
Friday, June 26, 2026
7 red flags you are about to lose (and even blow up your account)
Here is the link.
This video from SMB Capital outlines seven critical red flags that indicate a trader is in danger of blowing up their account. The host emphasizes that these are not signs of being a "bad" trader, but rather falling into a dangerous, fixable pattern that requires immediate action if detected.
The 7 Red Flags:
- Win rate is up, but the account is down (1:22 - 2:51): You are likely cutting winners short and letting losers run, trading for emotional validation rather than profit.
- Trading more than on your best days (2:52 - 5:10): A sign of revenge trading and addiction to action. Fix this by setting a maximum daily trade limit based on your peak performance days.
- Unable to remember the last three trades (5:11 - 6:40): This indicates a loss of process and reacting to chaos rather than following a plan. Fix by writing down your setup, logic, and emotional state after every trade.
- Strategy hopping (6:41 - 9:34): Confusing changing market conditions with strategy failure. Instead of abandoning strategies, learn a diverse set and wait for the right environment.
- Justifying bigger losses (9:35 - 13:00): Moving your stop-loss repeatedly is the most dangerous flag. Once you treat rules as "negotiable," your account is at high risk.
- Watching P&L more than execution (13:01 - 15:47): This keeps you focused on outcome rather than process. Fix by hiding your P&L or sizing down until you are no longer anxious.
- Cannot take a day off (15:48 - 19:35): A sign of compulsion and burnout. Trading is a marathon; if you cannot take a full day off to recover, you are not trading sustainably.
Recommended Protocol:
- 1-2 Flags (Yellow Alert): Reduce position size by 50% and focus on fixing specific patterns (19:38 - 20:08).
- 3-4 Flags (Red Alert): Reduce size to 25% or less and systematically address each flag (20:09 - 20:39).
- 5+ Flags (Full Crisis): Stop trading immediately. Seek coaching and rebuild your foundation from scratch before returning to the market (20:40 - 21:28).
The speaker advises that to address the issue of not remembering your trades, you should follow a specific documentation process after every trade and before taking the next one. You must write down the following three things:
- What was the setup?
- Why did I take it?
- How do I feel right now?
The video emphasizes that if you cannot articulate these three points, you should not take the next trade (6:16 - 6:40).
Why take a full day off?
The speaker advises that trading is a marathon rather than a sprint, and that traders must rest and recover to maintain peak performance (17:33 - 17:42). By taking one full day off per week without looking at charts or the trading platform, traders can reset from the compulsive need to watch the market, avoid burnout, and maintain the proper perspective that the market is an opportunity-generating machine that requires the trader to be present only when opportunities actually exist (17:15 - 18:28).
What makes a high win rate dangerous?
The speaker explains that a high win rate can be misleading if you are cutting your winners short and letting your losers run (1:41 - 1:44). In this scenario, your small profits are consistently outweighed by larger losses, meaning you are essentially trading for emotional validation rather than actual profit (2:23 - 2:32). Even with a high win rate, such as 70%, the account will trend downward if the average loss significantly exceeds the average winner (1:50 - 2:05).
How do I stop rule-breaking habits?
The speaker provides a specific protocol based on the number of red flags identified (19:35 - 21:28). The recommended steps are as follows:
1-2 Red Flags (Yellow Alert): You should reduce your position size by 50% and focus on fixing the specific patterns causing those flags through a daily review process (19:41 - 20:08).
3-4 Red Flags (Red Alert): You should reduce your position size to 25% or less. The speaker recommends you stop and systematically address each flag one by one over a period of time, such as two weeks, before returning to full size (20:09 - 20:39).
5+ Red Flags (Full Crisis): The speaker advises a "full account freeze" for a period of time. You should stop trading immediately, seek mentorship or coaching, and rebuild your foundation from scratch, ensuring you have a new written plan before resuming trading (20:40 - 21:28).
Additionally, the video highlights a specific fix for the most dangerous habit—breaking your max loss rule. If you break your max loss rule even once, you should stop trading for that entire day and the following day as a reset measure (12:27 - 12:57).
ON stock | 安森美创纪录70亿美元收购Synaptics
安森美近日宣布,已与触控及边缘计算芯片厂商Synaptics达成最终协议。安森美将通过全股票交易方式收购Synaptics,交易总企业价值约70亿美元,是安森美历史上规模最大的一笔并购。
美国半导体巨头安森美(onsemi)近日宣布,已与触控及边缘计算芯片厂商Synaptics达成最终协议。安森美将通过全股票交易方式收购Synaptics(新突思科技),交易总企业价值约70亿美元。这不仅是安森美历史上规模最大的一笔并购,也标志着该公司正加速向“物理AI”领域的智能系统供应商转型。
作为此次被收购的核心标的,Synaptics在半导体业界有着深厚的历史底蕴。该公司于1986年在美国硅谷创立,其名称源自大脑中负责信息处理的“突触”(Synapse),创立初衷便是探索更加直观、以人为本的人机交互技术。凭借在电容感应领域的开创性研究,Synaptics在20世纪90年代迅速崛起,成为全球绝大多数主流笔记本电脑触控板的绝对领导者。
进入移动互联网时代后,Synaptics并未止步于触控板,而是通过一系列精准的并购(如2013年收购指纹识别厂商Validity、2014年收购Renesas SP Drivers)以及持续的研发投入,成功将业务版图拓展至智能手机触摸屏、显示驱动集成(TDDI)以及生物识别等前沿领域。近年来,面对消费电子市场的演变,Synaptics更是积极向边缘AI计算和物联网(IoT)无线连接方向转型,积累了包括Astra平台在内的丰富技术资产。
根据双方公布的交易条款,Synaptics股东每持有1股股票,将获得1.35股安森美普通股。这一换股比例较两家公司过去10个交易日的成交量加权平均收盘价溢价约19%。交易完成后,Synaptics现有股东将持有合并后公司约12%的股权,且Synaptics董事会的一名成员预计将加入安森美董事会。在获得股东批准及监管许可等常规条件后,该交易预计将于2027年年中正式完成。
战略层面,此次收购是安森美补齐技术版图的关键一步。安森美CEO Hassane El-Khoury指出,随着人工智能从云端走向汽车、工业等物理世界,下一阶段的技术创新将高度依赖于能够实时感知、决策、行动和适应的系统。安森美原本在功率器件和传感领域占据主导地位,而Synaptics则在边缘AI计算、无线连接及人机交互(HMI)方面拥有深厚积累。通过整合Synaptics的Astra边缘AI平台及开源软件栈,安森美将成功打通“电源、感知、互联计算与控制”四大技术支柱,从而构建出难以替代的系统级竞争壁垒。
从财务预期来看,安森美预计,整合后的业务组合将为其带来每年约2亿美元的协同效应,并有望在交易完成后的18个月内,实现非公认会计准则(Non-GAAP)每股收益的增厚。更重要的是,借助Synaptics在智能边缘市场的布局,安森美有望进一步拓宽其业务边界,切入自动驾驶、机器人、AR/VR等高增长赛道。据安森美预测,到2030年,此次收购将为其新增300亿美元的潜在市场规模,使总可触达市场(TAM)跃升至2430亿美元。
尽管这笔交易展现了宏大的战略愿景,但资本市场在短期内却表现出了审慎态度。在消息公布后的盘后交易中,Synaptics股价受收购溢价提振上涨约12%,而安森美股价则出现了约8%至9%的下跌。市场分析认为,买方的股价回调主要源于两方面担忧:一是全股票交易不可避免地会导致现有股东权益被稀释;二是将一家以消费电子见长的公司与以汽车和工业为核心的企业进行文化及业务整合,其执行难度和潜在风险不容小觑。
总体而言,安森美斥资70亿美元收购Synaptics,是半导体行业在“AI时代”加速整合的一个缩影。这笔交易能否真正兑现其“1+1>2”的商业逻辑,不仅考验着安森美的跨领域整合能力,也将成为观察未来“物理AI”赛道竞争格局演变的重要风向标。
what is big problem to trade stock market as a swing trader or short term trader
The single biggest problem swing and short-term traders face is overnight and weekend gap risk. Because these positions are held while the market is closed, traders are highly vulnerable to unexpected news, earnings reports, or global events that cause a stock to open significantly higher or lower, bypassing stop-loss orders entirely. [1, 2, 3, 4, 5]
- The Problem: Short-term market movements are often driven by erratic market maker algorithms or temporary emotional volatility. This "noise" can easily trigger your stop-loss before the stock resumes its intended, profitable trajectory. [1]
- The Problem: Many swing traders start with accounts that are too small. To keep risk under 1%, they are forced to trade with position sizes that are too small to generate meaningful returns, or they are forced into dangerously high-risk sizing to make it "worth their time". [1]
Thursday, June 25, 2026
tradingFinder TFLab support resistance major/ minor Mark structure 如何实现算法
实现 TradingFinder 或 TFLab 风格的 自动支撑/阻力 (主要与次要) 及市场结构 (Market Structure) 算法,核心在于通过波动率、分形 (Fractals) 以及价格触及频率来量化价格波动。这可以通过 TradingView 的 Pine Script 或 Python 轻松构建。
- 分形逻辑:一个枢轴高点 (Pivot High) 指的是当前 K 线的最高价高于其左侧 N 根 K 线,且高于其右侧 N 根 K 线。
- 枢轴低点 (Pivot Low) 逻辑相反。
- N 值越大,筛选出的枢轴级别越高、越重要。
- 结构突破 (BOS - Break of Structure):当价格实体收盘价突破前一个主要的枢轴高点(看涨趋势)或低点(看跌趋势)时,确认趋势延续。 [1]
- 趋势反转 (CHoCH - Change of Character):当价格反向跌破最近的关键回调低点(看涨变看跌)或涨破关键高点时,确认潜在趋势反转。 [1]
//@version=5
indicator("Swing Structure & S/R [Auto]", overlay=true)
// 1. 设置分形周期 (可调)
leftBars = input.int(3, title="Left Bars")
rightBars = input.int(3, title="Right Bars")
// 2. 获取分形枢轴
pH = ta.pivothigh(leftBars, rightBars)
pL = ta.pivotlow(leftBars, rightBars)
// 3. 记录枢轴价格和位置
var float last_pH = na
var float last_pL = na
if not na(pH)
last_pH := pH
line.new(bar_index - rightBars, pH, bar_index, pH, color=color.red, width=2)
if not na(pL)
last_pL := pL
line.new(bar_index - rightBars, pL, bar_index, pL, color=color.green, width=2)
// 4. 市场结构标记示例 (BOS - 向上突破)
if not na(last_pH) and close > last_pH and close[1] <= last_pH
label.new(bar_index, high, "BOS", style=label.style_label_up, color=color.new(color.green, 0), textcolor=color.white)



