just add e.g. a Print() where you want to be informed:
Print("write here what you want to read?");
rhabramov: If anyone can help me or offer any feedback, I'd greatly appreciate it.
double this_high = iHigh(symbol,PERIOD_H4,1); double this_low = iLow(symbol,PERIOD_H4,1); double this_open = iOpen(symbol,PERIOD_H4,1); double this_close = iClose(symbol,PERIOD_H4,1); :
- Can't offer help since you haven't stated a problem.
- All those global variables are constant. You need to assign them at the beginning of start().
- When can I expect your check?
gooly:
I was thinking more along the lines of an email or SMS message.
just add e.g. a Print() where you want to be informed:
I think the logic is wrong:
if(((this_high > 0.95*this_close) && (this_high < 1.05*this_close)) && ((this_low < 0.95*this_open) && (this_low > 1.05*this_open))) { Alert("This is a white marubozu - bullish!"); } if(((this_high > 0.95*this_open) && (this_high < 1.05*this_open)) && ((this_low < 0.95*this_close) && (this_low > 1.05*this_close))) { Alert("This is a black marubozu - bearish!"); }

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
Hi,
I'm trying to code a EA for the Japanese Candlesticks. I want an EA that emails/texts/alerts me when a trading opportunity presents itself. My code is below. If anyone can help me or offer any feedback, I'd greatly appreciate it.