Forums › ProRealTime English forum › ProOrder support › One year after › Reply To: One year after
When you read my comments from 151 days ago in the original post
https://www.prorealcode.com/prorealtime-trading-strategies/wings-resistance-breacher-dax-30m/
there is a logical mistake in the original system. It favors long over short positions and therefore works better in a bull market.
When you remove the error and set
1 2 3 4 |
if close<average[yy] or close<exponentialaverage[tt] then MaBoty=0 MaBotzy=999999999 endif |
in lines 125-128 (line numbers of the original post, not of the itf file), the system opens long positions more carefully and therefore works better in a downward trend as we have it now. Of course, this takes profits away of the previous upward trend.
Result since November 1st, 2017 is then + 1593 Euro.
See a comparison of both codes below (upper curve = corrected code). I hope my conclusions from 151 days ago were correct, I did not think about them once again now.