Download MetaTrader 5

Robot develop based on bar patterns, i need help in patterns logic

To add comments, please log in or register
Asad Raza
149
Asad Raza  
I have develop 5 Expert robot, and this one is good one, but need your help.

I have develop expert base on bars patterns. 
following tutorial : https://www.tradingsetupsreview.com/10-price-action-bar-patterns-must-know/

Now some patterns return good result, but some return always in lose...

Pattern name: "Bar reversal pattern" is good pattern, but its return lose if Currency has more then 40 spread.
Work Good in EURUSD, NAZUSD,  USDCAD, USDJPY

Actually my problem is, why pattern not always work?
I have attach my expert. 

Any one want to make it better? 

Please fix logical and missing things, please improve this and also share with me :) 

For Testing: select pattern type from expert input setting. you can check single pattern or multiple.
whroeder1
17097
whroeder1  
asad998: Actually my problem is, why pattern not always work?
  1. Nothing works 100% in the markets.
  2. All patterns should look at previous bar, not bar zero. Move the new bar code to OnTick, fix all [0].
Asad Raza
149
Asad Raza  
whroeder1:
  1. Nothing works 100% in the markets.
  2. All patterns should look at previous bar, not bar zero. Move the new bar code to OnTick, fix all [0].

Yes i have notice this thing, if 1 bar say "market is bullish" then next bar say "market is bearish".
Before market go bullish, market start bearish. (so i get lose)

=> Fix all at [0]
If i trade buy order, and on sell signals, i close previous orders then open sell signal,
so i am going always in lose :( 
To add comments, please log in or register