OPEN-SOURCE SCRIPT

Manual Back Test Lines

已更新
I created this indicator to primarily manually test other indicators in replay mode.

To use this indicator generally you will:

  • Select trade type: long or short
  • Enter your ATR (enter the actual ATR). The indicator will then calculate and plot your SL and targets based on your values
  • Default Stop Loss is ATR * 1.5
  • Default Target 1 is ATR * 1.5
  • Default Target 2 is ATR * 3


Using this indicator on Replay mode is great. What you do is go back in time. Hit play and as the indicator(s) you use provide signals pause.

Pull up options:

  • Select trade type
  • Update ATR value
  • Change date to entry date. Typically if you are trading off the daily timeframe you are going to wait for your current day candle to close to provide signal. That would mean your entry would be on the next day.
  • Click play and watch, track and record how trade unfolds.


Future updates:
I'd like to be able to have some way to click one button and have it fire that enter trade right now on chart. Also I'm working on figuring out how to calculate the ATR on the entry date so that isn't required to be entered.

Finally, I'd like to have some auto calculation on when targets and SL are hit. I have this partially done but it's more important that I use this indicator than spend time or funds to update it to do that. But I do plan on updating.




發行說明
Added hour and minute inputs to manual backtest lower timeframes.
ATRAverage True Range (ATR)backtestbacktestingtestingtradesetupVolatility

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


Get the best... join my Discord: discord.gg/WgjsxVz
更多:

免責聲明