Forums › ProRealTime English forum › ProOrder support › Discussion re Pure Renko strategy › Reply To: Discussion re Pure Renko strategy
03/15/2020 at 2:00 PM
#122169
it’s based on code what’s already used to determine performance.
Takes the last completed trade result from a long (green) or short (red) and plot’s it as 1 for a win and -1 for a loss.
Not sure yet if it could be usefull.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
if (longperf>longperf[2]) then previouslong=1 elsif (longperf<longperf[2]) then previouslong=-1 else previouslong=0 endif if (shortperf>shortperf[2]) then previousshort=1 elsif (shortperf<shortperf[2]) then previousshort=-1 else previousshort=0 endif graph previouslong coloured(0,200,0) as "long result (1=win;-1=loss)" graph previousshort coloured(200,0,0) as "short result (1=win;-1=loss)" |