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:
READ THIS BEFORE USE:
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.
Notas de Lançamento:
Added some debugging labels and corrected some minor typos.
Notas de Lançamento:
Some minor corrections to comments
Notas de Lançamento:
Made some minor terminology changes to help clarify a few things.