New strategy template
Forums › ProRealTime English forum › ProOrder support › New strategy template
- This topic has 35 replies, 10 voices, and was last updated 3 years ago by
Chrisinobi.
-
-
02/22/2022 at 7:08 PM #188682
Hi nonetheless,
I would like to know if the v5 are the last template you are using to build code.
Thanks for this job
02/22/2022 at 7:19 PM #18868302/23/2022 at 3:17 PM #188711Hello Nonetheless
I am a huge admirer of their work and have been following them for a long time, my question is about the various stop functions, can you put all the break even and trailing stops in one strategy and then just toggle on and off as needed???? Could you tell me the lines where I can switch functions on or off??? With some functions it is written behind it, but sometimes where nothing is written, I’m not sure. Thank you and bear with me, I still have some learning to do.02/23/2022 at 5:17 PM #188718You can duplicate the template and insert your strategy, then just turn the other functions on or off to test whether you want to use it.
You can leave unused code in the algo, but if it’s of no use to you, probably better to delete it.
The trailing stops can be selected in these lines, 1 = on, 0 = off
12345//trailing stoponce trailingstopPC = 1 // Percentage TS, includes break even functiononce enableBreakEven = 0 //Break even, can be used in conjunction with ATR TSonce trailingstopATR = 0 //ATR TSonce trailingstopRTS = 0 //RobertoGozzi trailing stoptrailingstopRTS and trailingstopPC both include a breakeven function, so the separate breakeven is only to be used with the ATR
All the separate functions are switched off to start, eg:
12DONCHIANSTOP = 0if DONCHIANSTOP thenyou have to change that to a 1 if you want to test it.
hope that helps!
02/23/2022 at 7:34 PM #1887251<span class="Y2IQFc" lang="en">Yes thank you very much, you helped me a lot, because I think that the trail stop is the most important thing in a strategy to make short term breakouts reasonably profitable. I don't need CFD for long-term trend, there are better instruments. I'm looking forward to something interesting from you again. Maybe the Holy Grail. (-:</span>02/23/2022 at 7:40 PM #188726Yes thank you very much, you helped me a lot, because I think that the trail stop is the most important thing in a strategy to make short term breakouts reasonably profitable. I don’t need CFD for long-term trend, there are better instruments. I’m looking forward to something interesting from you again. Maybe the Holy Grail. (-:
-
AuthorPosts
Find exclusive trading pro-tools on