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
更多:

免责声明