Great idea to have an expert working for you...no? still one little problem though, i am not able to code it to do what i really want.
I defined the variables and set my Long/Short conditions, still not working, can someone tell me what is wrong here below...coding experts, i really need help!!
// INDICATORS
sma=iMA(NULL,0,SMAPeriod,0,MODE_SMA,PRICE_CLOSE,0) ;
ema=iMA(NULL,0,EMAPeriod,EMAShift,MODE_EMA,PRICE_C LOSE,6);
rsi1=iRSI(NULL,0,RSI,PRICE_CLOSE,0);
rsi2=iRSI(NULL,0,RSI,PRICE_CLOSE,1);
// LONG Conditions
if(Ask>sma && (ema-sma)<5*Point && rsi1<51 && rsi1>rsi2 && (sma-Ask)<EntryLevel*Point)
{
ticket=OrderSend(Symbol(),OP_BUY,1,Ask,5,Ask+StopL oss*Point,TakeProfit*Point,"",0,0,Green);
}
// SHORT conditions
if(Bid<sma && (sma-ema)<5*Point && rsi1>49 && rsi1<rsi2 && (Bid-sma)<EntryLevel*Point)
{
ticket=OrderSend(Symbol(),OP_SELL,Lots,Bid,5,StopL oss*Point,TakeProfit*Point,"Test SHORT Signal",16384,0,Red);
}
you can e-mail to
pierre@beautycare.bz
i really would appreciate an answer...