明天特斯拉會發布fsd v14,這會導致TA完全沒有用啊,哈哈,這是對應的tradeview 的代碼

本帖於 2025-10-05 18:52:07 時間, 由普通用戶 BrightLine 編輯
回答: TA基礎知識:一陽穿三線西糖胡同2025-10-05 15:54:21
//@version=5 indicator(" TradingView (AA/BB/CC/DD)", overlay=true)   // EMA lengths (same as your code) len1 = 5 len2 = 10 len3 = 20   // EMAs ema5 = ta.ema(close, len1) ema10 = ta.ema(close, len2) ema20 = ta.ema(close, len3)   // Conditions (mapping CROSS(a,b) -> ta.crossover(a,b) meaning a crosses above b) // AA: price crosses above EMA5, EMA10 and EMA20 (all three cross-ups same bar) AA = ta.crossover(close, ema5) and ta.crossover(close, ema10) and ta.crossover(close, ema20)   // BB: EMA5 and EMA10 cross above price (both EMAs cross up through price) BB = ta.crossover(ema5, close) and ta.crossover(ema10, close)   // CC: price crosses above EMA5 and EMA10 CC = ta.crossover(close, ema5) and ta.crossover(close, ema10)   // DD: EMA5, EMA10 and EMA20 cross above price (all three EMAs cross up through price) DD = ta.crossover(ema5, close) and ta.crossover(ema10, close) and ta.crossover(ema20, close)   // Plot EMAs (optional, you can hide them) plot(ema5, title="EMA 5", linewidth=1) plot(ema10, title="EMA 10", linewidth=1) plot(ema20, title="EMA 20", linewidth=1)   // Visual signals: use shapes for sticklines and labels for the '3' drawtext plotshape(AA, title="AA (green up)", location=location.belowbar, style=shape.triangleup, size=size.small, color=color.green) plotshape(BB, title="BB (red down)", location=location.abovebar, style=shape.triangledown, size=size.small, color=color.red) plotshape(CC, title="CC (green small)",location=location.belowbar, style=shape.circle, size=size.tiny, color=color.green) plotshape(DD, title="DD (red small)", location=location.abovebar, style=shape.xcross, size=size.tiny, color=color.red)   // DRAWTEXT equivalents: put a '3' label (AA green above bar; DD red above bar like original) if AA     label.new(bar_index, high * 1.02, text="3", style=label.style_label_up, color=color.new(color.green, 0), textcolor=color.white) if DD     label.new(bar_index, high * 1.02, text="3", style=label.style_label_down, color=color.new(color.red, 0), textcolor=color.white)

所有跟帖: 

暈了!哈哈 我們編程群有TV等好幾個小群,互不通氣。都玩轉了花時間做類似的事情。 -西糖胡同- 給 西糖胡同 發送悄悄話 西糖胡同 的博客首頁 (225 bytes) () 10/05/2025 postreply 19:09:06

有時候運氣真是很重要。 -MarkM76- 給 MarkM76 發送悄悄話 (0 bytes) () 10/05/2025 postreply 19:09:47

對,還是不要bet against 老馬,逢低就買,流動倉可以逢高就賣,哈哈 -BrightLine- 給 BrightLine 發送悄悄話 BrightLine 的博客首頁 (0 bytes) () 10/05/2025 postreply 19:13:25

你幹嘛辭了班主?當班主多神氣啊,拿把錘子想砸什麽都行! -西糖胡同- 給 西糖胡同 發送悄悄話 西糖胡同 的博客首頁 (167 bytes) () 10/05/2025 postreply 19:45:14

無官一身輕,不用以權謀私,哈哈 -BrightLine- 給 BrightLine 發送悄悄話 BrightLine 的博客首頁 (167 bytes) () 10/05/2025 postreply 19:47:13

我認為這其中有誤會 -dancingpig- 給 dancingpig 發送悄悄話 (0 bytes) () 10/05/2025 postreply 19:49:51

無所謂了,本就不是事,哈哈,move on,有時間就來 -BrightLine- 給 BrightLine 發送悄悄話 BrightLine 的博客首頁 (0 bytes) () 10/05/2025 postreply 19:51:58

對股市的瘋狂皇帝老兒都得拉褲兜子,鬼知道明天怎麽走?三心厲害,也經常出錯。 -西糖胡同- 給 西糖胡同 發送悄悄話 西糖胡同 的博客首頁 (221 bytes) () 10/05/2025 postreply 19:50:27

沒人能夠預料明天,哈哈,所以我就是覺得低了就買,覺得高了就賣一點 -BrightLine- 給 BrightLine 發送悄悄話 BrightLine 的博客首頁 (0 bytes) () 10/05/2025 postreply 19:53:34

不知你哪兒來的印象 - 我沒見三心”經常“預測短期走勢啊! 何來“經常出錯”之說 ?! -任靜鍋-- 給 任靜鍋- 發送悄悄話 任靜鍋- 的博客首頁 (0 bytes) () 10/05/2025 postreply 20:46:32

我是經常看他畫的趨勢走向預測,是根據波浪理論畫的,結果經常大相徑庭。誰都不是神,是人就會錯。 -西糖胡同- 給 西糖胡同 發送悄悄話 西糖胡同 的博客首頁 (0 bytes) () 10/06/2025 postreply 05:21:19

請您先登陸,再發跟帖!