Renko DollarTrailingAmount

Questions about MultiCharts and user contributed studies.
chilli
Posts: 25
Joined: 10 Jun 2014
Has thanked: 11 times
Been thanked: 4 times

Renko DollarTrailingAmount

Postby chilli » 23 Oct 2014

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.

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Renko DollarTrailingAmount

Postby TJ » 23 Oct 2014

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.
Look up

BarStatus = 2

chilli
Posts: 25
Joined: 10 Jun 2014
Has thanked: 11 times
Been thanked: 4 times

Re: Renko DollarTrailingAmount

Postby chilli » 23 Oct 2014

Thanks TJ , I am a complete beginner , how do I put the BarStatus = 2 into the script ?

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Renko DollarTrailingAmount

Postby TJ » 23 Oct 2014

Thanks TJ , I am a complete beginner , how do I put the BarStatus = 2 into the script ?
Have you ACTUALLY looked up the keyword?

The syntax and usage example are right there.

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Renko DollarTrailingAmount

Postby TJ » 24 Oct 2014

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


Return to “MultiCharts”