Hi can you code me an EA? - page 2

 
thx
flaab:

Please, note that the pending orders are not placed above and below the fractal itself. They are being placed above and below the icon that the indicator draws.

You should place your order at the HIGH of fractal resistances and at the LOW of fractal supports, not using the graphical icon.

 

I found the code for fractal indicator and tehre is a section :

.

.

//---- initialization done

   return(0);
  }
//+------------------------------------------------------------------+
//| Custor indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//---- TODO: add your code here
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   int    i,nCountedBars;
   bool   bFound;

 
Can i insert my place a pending order "script" to the 	//----- TODO: andd your code here
section?
 
tusjan:

I found the code for fractal indicator and tehre is a section :

Indicators can NOT place trades.

Write your EA call iCustom or iFractals to get indcator's value.

learn to code

Reason: