Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Downloads

  • Pinescript Cup Handle Strategy.txt
  • Pinescript Cup Handle Indicator.txt

Missing 1 full-res photo, 2 files, as this post has not yet been imported.

Content

A number of viewers wanted to see the pinescript codes used in my latest YouTube video. They are attached here, one is for the Cup & Handle indicator and the other is the strategy backtest. Copy and paste them (separately) into TradingView's Pine Editor.

These codes are high level experimentation. Only meant to be used as reference. They are not meant to be used for actual trading. The backtest is not done with the strict requirements needed to overcome bias mentioned at the end of the video. And past performance is not indicative of future results.

Use these sample codes to learn but do not use them to trade.

😀 This video took close to 20 hours to make. If you found it useful. Please share with your friends 😀

Files

Previews only

20分鐘篩選過千隻股票 |AI自動化交易策略 【手把手教學】中文+English CC

作為一個打工仔,成日冇時間成日睇實個市,因而錯過唔少交易機會。但有咗ChatGPT後,可以利用AI再配合其他交易程式,能夠用大大縮短篩選股票嘅時間,並且有notifications 提示什麼時候應該作出交易,以後就算開緊會亦可以抓緊每一個交易機會! 我會喺Patreon度分享個pinescript 畀大家一齊研究下 ➡ https://www.patreon.com/ahju 如果想深入啲學Trading ➡ https://www.ahjutrading.com 優惠 Discount code: 200KPROMO Interactive Brokers ➡ https://bit.ly/3DX0Jul 0:00 Intro 0:26 用ChatGPT寫交易程式 1:34 怎樣用TradingView Pinescript 3:49 利用ChatGPT賺錢 5:36 創造指標 9:10 Backtest交易策略 19:50 Set Alert 20:25 連接IB #ChatGPT #AI #交易 #TradingView #Pinescript

Comments

MC

Very informative. Another good video. Thank.

chan bill

阿豬您好!想請教有無辦法在trading view 寫script monitor 多隻tickers? 例如我想知道sp 500成份股有邊隻今日有signals,就要重複500次set alert? 宜家我都係用market smith 去filter

EW

好強👍🏻🙏🏻學到野!

Ski Chan Chun

個strategy tester點set 都係no date,有人知道為什麼嗎

Peter So

Hi 阿豬~ Strategy嗰part,當apply嗰陣喺line 28 if (time >= start).. 出現error: 'if' cannot be used as a variable or function name. ,搵過google都唔係好 fix 到,could you please help check check ? Great thanks!

sofun

我都用左兩個月係chatgpt 寫pine script ,但回測得50%勝率,而家仲實測緊。

Joyce Lau

Thanks 阿豬。

Brian ISHINO

TKS ur effort...may i suggest that try to create and share some indicators which got higher winner rate

chan bill

I use my own php code to get tickers’ price data, then calculate the signal daily. I also tried trading view’s screener but there are no custom signal for the condition….

Holy

早晨,試到你的cup and handle program, 如何在tradindveiw 和IB 行autotrade

sofun

嘗試過,但都是唔得,最後是用選股器揀左一埋股票,逐隻逐隻用肉眼睇,睇佢回測赢率同平均交易個profit rate 再加落自已watchlist.

blue bule

Hi大家好,我係新手,code我搞極都搞唔掂仲試緊

Taro Kumara

Can I join your chat in discord