OPEN-SOURCE SCRIPT
已更新 MACD 50x Leveraged Long Strategy Results with Real Equity

Hello there.
I was looking for a way to simulate leveraged transactions in Tradingview and this script came out.
You can examine the equity graph without looking at the strategy results.
Thus, the facts will come to light.
Strategy parameters:
Adding margin: Forbidden or not specified. (Add Margin : No)
Or ofc touching the stop-Loss value as predicted.
Warning: This strategy simulation is for Long direction only.
Regards.
I was looking for a way to simulate leveraged transactions in Tradingview and this script came out.
You can examine the equity graph without looking at the strategy results.
Thus, the facts will come to light.
Strategy parameters:
Adding margin: Forbidden or not specified. (Add Margin : No)
- Position size: (for each trade) 1%
- Stop-Loss: (2%)
- Long: macd crossover
- Exit: macd crossunder
Or ofc touching the stop-Loss value as predicted.
Warning: This strategy simulation is for Long direction only.
Regards.
發行說明
Correction in line 37:98% of the average entry price is taken as the Stop-Loss value.
(2% below the average entry price)
發行說明
Net capital bug fixed.發行說明
We forgot to add principal position size if we win. The previous version was wrong.
Because he saw the starting position size as a loss.
I also designed the percentage profit calculation much simpler.
I will do this update when I have enough time.
發行說明
Apology! I was skeptical after high success rates.
The old version was correct.
Change (Strategy.position_size) statement already adds prinsipal position size.
Update cancelled.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。