Ojala EA - page 10

 

i

Started Live trading with $ 1000 per contract.with 7/8 pairs.

But PC memory is problem.

I will change EA/ indicator verson

 
kumawat:
i

Started Live trading with $ 1000 per contract.with 7/8 pairs.

But PC memory is problem.

I will change EA/ indicator verson

Nice let us know how is going in Live trading.

 
kumawat:
i

Started Live trading with $ 1000 per contract.with 7/8 pairs.

But PC memory is problem.

I will change EA/ indicator verson

Do you use Ojala EA in a live account right now?

 

Hi Mohammad

Yes i have started live trading wiht real money account of $400. i am trading 7/8 pairs wiht lot size of $ 1000 per lot ( .1 minilot).

i started from sunday opening. i hope at the end of week i will have some good pips (200 Pips means $ 20) in my account.

 

read the messages, I already put the question:)

 

And what about this error?

2006.03.13 15:12:30 EMAOsMA GBPUSD,M15: unknown subwindow number 1 for ObjectCreate function

Take a look in the Terminal window, Experts and you will find this error.

The EA has to place an order BUY EUR/USD at 14.45h GMT but I don't know why my EA hasn't placed it.

 
JoZo:
And what about this error?

2006.03.13 15:12:30 EMAOsMA GBPUSD,M15: unknown subwindow number 1 for ObjectCreate function

Take a look in the Terminal window, Experts and you will find this error.

JoZo,

Yes, this is a bug in MT, they have to fix this:

Try this code:

//+------------------------------------------------------------------+

//| EMAOsMA.mq4 |

//| Mohammed |

//| https://www.forex-tsd.com |

//+------------------------------------------------------------------+

#property copyright "Mohammed"

#property link "https://www.forex-tsd.com"

#property indicator_separate_window

#property indicator_buffers 2

#property indicator_color1 Red

extern int EmaPeriod = 12;

//---- buffers

double ExtMapBuffer1[];

double ExtMapBuffer2[];

//+------------------------------------------------------------------+

//| Custom indicator initialization function |

//+------------------------------------------------------------------+

int init()

{

//---- indicators

IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS)+2);

IndicatorBuffers(2);

SetIndexStyle(0,DRAW_LINE);

SetIndexBuffer(0,ExtMapBuffer1);

SetIndexStyle(1,DRAW_LINE);

SetIndexBuffer(1,ExtMapBuffer2);

//----

if(ObjectCreate("H0", OBJ_HLINE, 1, CurTime(), 0))

{

ObjectSet("H0", OBJPROP_COLOR , Blue);

ObjectSet("H0",OBJPROP_STYLE,STYLE_SOLID);

ObjectsRedraw();

}

return(0);

}

//+------------------------------------------------------------------+

//| Custom indicator deinitialization function |

//+------------------------------------------------------------------+

int deinit()

{

return(0);

}

//+------------------------------------------------------------------+

//| Custom indicator iteration function |

//+------------------------------------------------------------------+

int start()

{

int i, limit;

int counted_bars=IndicatorCounted();

if(counted_bars<0) return(-1);

if(counted_bars>0) counted_bars--;

limit=Bars-counted_bars;

for(i=0; i<limit; i++)

ExtMapBuffer2 = iOsMA(NULL,0,12,26,9,PRICE_CLOSE,i);

for(i=0; i<limit; i++)

ExtMapBuffer1=iMAOnArray(ExtMapBuffer2,Bars,EmaPeriod,0,MODE_EMA,i);

//----

return(0);

}

//+------------------------------------------------------------------+

 

Thanks alot!

I will try the code later. I want to annunce that I a SELL order has been placed on USD/JPY @118.97

So the EA is working also with this BUG in the MT. I will change my EMAOsma with this code.

Thanks

 
JoZo:
Thanks alot!

I will try the code later. I want to annunce that I a SELL order has been placed on USD/JPY @118.97

So the EA is working also with this BUG in the MT. I will change my EMAOsma with this code.

Thanks

You're welcome!

I hope you find the EA useful !

 

Hello Mahammed,

I have tested this ea for this morning, it is well, however, why in your opinion the first trade is not finished?? (-74 pip)

Files:
Reason: