Forum

ZigZag breakout

Hi all, I'm quitte new in MQL4. But i'm looking for a simple ZigZag breakout EA. Entry long when the previous zigzag peak is broken out and the previous low must be higher than the low before the previous low, and simultaneouly a CCI value of over 100 is reveived. Entry short when the previous

Closing trades

Hi all, I've written a simple ea, but I can't get something done in this code. I want to trail the profit of the group inclusive the loss ones. void TrailingStairs( int ticket, int trldistance) { int Spred=Ask - Bid; if (OrderType()==OP_BUY) { if ((Bid-OrderOpenPrice())>( Point

Need some help with magicnumber and multiple orders

Hi all, I'm quite new in coding mql4 and it goes quite well. I've build this ea (see attached file). But something will not work and that is that I want the orders work together. Example: When 1 buy order is opened that the second one opens x pips away from order 1 and order 3 after x pips from

Indicator with all the gartly patterns with automatic calculated target.

Hi All, I'm searching for a Gartly pattern indicator with automatic calculated profit targets. Is here someone who know an indicator this way? Regards, Jason

Can someone help me? with a simple ea.

I have a simple strategy, wich I trade for a long time (manual). Now i want to make an Expert advisor. I'm a newbie in MQL4 and maybe can someone help me. I don't get the RSI visible and he doesn't open any positions. The ma's are visible but all in a red thin line. The strategy is very simple. Buy