Chart Pattern Helper

zekerya

Trader
Jan 1, 2021
4
0
6
28
I get this error:
2021.01.04 17:29:18.429 ChartPatternHelper XAUUSD,M1: Skipping Send Pending Sell because stop-loss is too close to entry. StopLevel = 0.00 Entry = 1941.52 SL = -0.81

It seems doesn't recognize trend lines correctly.
Also many times Stop loss is not correct.
I made some edit to add trend lines at startup .
Chart Pattern Helper was updated to version 1.04 to fine tune some calculation improvements introduced in version 1.03.
 

Enivid

Administrator
Staff member
Nov 30, 2008
15,983
799
144
Odessa
www.earnforex.com
I get this error:
2021.01.04 17:29:18.429 ChartPatternHelper XAUUSD,M1: Skipping Send Pending Sell because stop-loss is too close to entry. StopLevel = 0.00 Entry = 1941.52 SL = -0.81

It seems doesn't recognize trend lines correctly.
Also many times Stop loss is not correct.
I made some edit to add trend lines at startup .
It's difficult to help you with this without having your chart setup. Please attach the chart template that you have used with the EA.
I also need to know whether it is MT4 or MT5.
 
  • Like
Reactions: zekerya

zekerya

Trader
Jan 1, 2021
4
0
6
28
It's difficult to help you with this without having your chart setup. Please attach the chart template that you have used with the EA.
I also need to know whether it is MT4 or MT5.
XAUUSDM5.pngAlpari MT4.pngAlpari MT4 2.png

I use MT4 ,Sometimes Entrys or Borders get negative values so there will be no orders.
StopLoss never is on trendline.
i'm new on MQL but I added some code to your EA to draw trends auto.
MQL4:
int init()
 
{
 
ObjectCreate(UpperEntryLine, OBJ_TREND, 0, Time[60], (High[0])*99.8/100, Time[0], (High[0])*99.8/100);
ObjectSet(UpperEntryLine, OBJPROP_COLOR,clrTurquoise);
ObjectSet(UpperEntryLine,OBJPROP_STYLE,2);
ObjectSetText(UpperEntryLine, "Buy Entry", 12, "Arial", clrTurquoise);
//.......rest of code
}
Thanks Zack
 

Enivid

Administrator
Staff member
Nov 30, 2008
15,983
799
144
Odessa
www.earnforex.com
@zekerya I mean chart template, not screenshot (right-click the chart, Template->Save Template).

Also, do you realize that ChartPatternHelper EA cannot trade based on the lines you've drawn as shown on those screenshots? It can only trade breakouts. For stop-loss, it will try to find the breakout candle's opposite end within the borders.