ea fractal??
Forum on trading, automated trading systems and testing trading strategies
If you can't find what you need in the Codebase or the Market, then create a request in Freelance Service.
I have same problem ...!!!
Hai Anyone know How to made EA with Fractals
double Up_Fractal=iFractals(NULL,0,MODE_UPPER,0);
double Down_Fractal=iFractals(NULL,0,MODE_LOWER,0);
NEED HELP Please
As fractals require 2 closed bars before drawing the fractal, bar 0 or 1 will never show a value
eg:
double val; int x; for(x=1;x<100;x++) { val=iFractals(Symbol(),0,MODE_UPPER,x); if(val>0) break; } Print("Shift=",x," value=",DoubleToStr(val,Digits));
- votes: 5
- 2008.05.18
- Pavel
- www.mql5.com
how to make ea based on fractal ???
An example from inside an EA :
MqlParam params[];
int handle = IndicatorCreate(_Symbol, Period(), IND_FRACTALS, 0, params);
Then the following article will help you (as it helped me a lot for coding a fractals based EA) :
- 2015.05.06
- Almat Kaldybay
- www.mql5.com