How to get those fractals to create an ea ?
- votes: 1
- 2012.03.16
- Point Zero
- www.mql5.com
https://www.mql5.com/en/code/10647
iCustom(...
thanks for helping.
//+------------------------------------------------------------------+ //|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| //+------------------------------------------------------------------+ //+--- double ExtHandle = 0; //+--- //+------------------------------------------------------------------+ //|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| //+------------------------------------------------------------------+ int OnInit() { //+------------------------------------------------------------------+ EventSetTimer(60); //+------------------------------------------------------------------+ ExtHandle = iCustom(Symbol(), 0, "FractalZigZagNoRepaint", CalculateOnBarClose, ZZDepth, ZZDev); if(ExtHandle == INVALID_HANDLE) { printf("Error creating FractalZigZagNoRepaint indicator"); return(INIT_FAILED); } //+------------------------------------------------------------------+ return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| //+------------------------------------------------------------------+
and then ? how to get those arrow ?? like that ?? i tried that, but doesnt open any position.. if ((SymbolInfoDouble(_Symbol, SYMBOL_ASK) < ExtHandle))
{
ConditionBuy = true;
}
if ((SymbolInfoDouble(_Symbol, SYMBOL_BID) > ExtHandle))
{
ConditionSell = true;
}
any help ??
You talk about opening orders there is no code for opening orders in your code, you talk about arrows but there is also no code for creating arrows.
What do you want ? be specific.
any good strategy for scalping ?
thanks for any sharing.
You talk about opening orders there is no code for opening orders in your code, you talk about arrows but there is also no code for creating arrows.
What do you want ? be specific.
i give up for using iCustom.
now i need strategy for scalping.
any sharing ??