What have you tried ?
Alain Verleyen:
What have you tried ?
What have you tried ?
is it something like this?
string EASignal = "";
if (CCIa > 0 && CCIb > 99 && MACDSignal < 0 && EMA_10 > EMA_50 && EMA_20 < EMA_50 )
{
EASignal = "Buy";
}
if (CCIa < 0 && CCIb < -99 && MACDSignal > 0 && EMA_10 < EMA_50 && EMA_20 > EMA_50 )
{
EASignal = "Sell";
}
frappemocha:
is it something like this?
string EASignal = "";
if (CCIa > 0 && CCIb > 99 && MACDSignal < 0 && EMA_10 > EMA_50 && EMA_20 < EMA_50 )
{
EASignal = "Buy";
}
if (CCIa < 0 && CCIb < -99 && MACDSignal > 0 && EMA_10 < EMA_50 && EMA_20 > EMA_50 )
{
EASignal = "Sell";
}
Good start...
How will you get the EMA_x value ?

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
How do i add in another 2 new condition to the below code, Thanks so much in advance...
Add in new condition
Buy
10ema above 50ema & 20ema below 50ema
Sell
10ema below 50ema & 20ema above 50ema
string EASignal = "";