You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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_CLOSE,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 && rsi1rsi2 && (sma-Ask)<EntryLevel*Point)
{
ticket=OrderSend(Symbol(),OP_BUY,1,Ask,5,Ask+StopLoss*Point,TakeProfit*Point,"",0,0,Green);
}
// SHORT conditions
if(Bid<sma && (sma-ema)49 && rsi1<rsi2 && (Bid-sma)<EntryLevel*Point)
{
ticket=OrderSend(Symbol(),OP_SELL,Lots,Bid,5,StopLoss*Point,TakeProfit*Point,"Test SHORT Signal",16384,0,Red);
}
you can e-mail to pierre@beautycare.bz
i really would appreciate an answer...