BigJasTrades

Strategy Template

BigJasTrades Updated   
This is an example strategy template that is provided to new pinescript users as an example of how to create a strategy. It is based off the example template strategy provided by TradingView.

This strategy will show users how to:
  • Use inputs to control variables
  • Set take profits and stop losses
  • Select whether to apply take profits or stop losses or neither
  • Set a trading window
  • Set an option to compound net profits
  • Set variables to be used throughout the strategy
  • Control position sizing with strategy entries
  • Visualise the indicators and entries.


READ THIS BEFORE USE:
  • This code is provided as an example strategy for educational purposes only. It comes with NO warranty or claims of performance.
  • It should be used as a basis for your own learning and development and to create your own strategies. Develop your own entries and exits and learn how to test them properly.
  • It is NOT provided to enable you to profitably trade. Do not use it to trade live.
  • If you use this code or any part of it you agree that you have thoroughly tested it and determined that it is suitable for your own purposes prior to use.
  • If you use this code or any part of it you agree that you accept all risk and you are responsibile for the results.
Release Notes:
Added some debugging labels and corrected some minor typos.
Release Notes:
Some minor corrections to comments
Release Notes:
Made some minor terminology changes to help clarify a few things.
Release Notes:
Some minor comment updates
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?