The standard in built _ Stops & Targets uses the new high and new low to set the dollar trailing amount. Any ideas on some code to make the trailing amount be set on the close of the bar only, this way I can match the trailing amount to renko brick size ?
So the trailing amount is set at the close of the renko bar not during the formation of the renko bar, as we all find out this leads to trades disappearing on the back test.
Renko DollarTrailingAmount
- TJ
- Posts: 7740
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2221 times
Re: Renko DollarTrailingAmount
Look upThe standard in built _ Stops & Targets uses the new high and new low to set the dollar trailing amount. Any ideas on some code to make the trailing amount be set on the close of the bar only, this way I can match the trailing amount to renko brick size ?
So the trailing amount is set at the close of the renko bar not during the formation of the renko bar, as we all find out this leads to trades disappearing on the back test.
BarStatus = 2
- TJ
- Posts: 7740
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2221 times
Re: Renko DollarTrailingAmount
Have you ACTUALLY looked up the keyword?Thanks TJ , I am a complete beginner , how do I put the BarStatus = 2 into the script ?
The syntax and usage example are right there.
- TJ
- Posts: 7740
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2221 times
Re: Renko DollarTrailingAmount
If you are interested in creating your own analysis... you better invest some time in learning this craft. Here is a good place to begin:
viewtopic.php?f=16&t=6929
viewtopic.php?f=16&t=6929