[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 446
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
нормализуйте цену
Isn't Bid normalised? at start it works
попробуй прогнать цикл из конца в начало
Still a closing error
воткни вот это в старт, закроет все с гарантией, только впиши условия..
Why doesn't it work as a function and why does it work at startup?
Correction, please. Not closing
Close at crossing of RSI level 60
extern int Level_2 =60;
rsi_0=iRSI( NULL,0, RSI_Period_0, PRICE_CLOSE, 0 );
rsi_1=iRSI( NULL,0, RSI_Period_0, PRICE_CLOSE, 1 );
if(rsi_1 > Level_2 && rsi_0 < Level_2) OrderClose(OrderTicket(),OrderLots(),Bid,3,White);
break;
Поправте, пожалуйцта. Незакрывает
Закрытие по пересечению RSI уровня 60 ц верху в низ
at RSI - levels from bottom to top. bottom 0 from top 60.
у РСИ - уровни снизу вверх. снизу 0 сверху 60.
I know
It's a buy close.
Upper level 60, lower level 40
А перейти в конец файла не пробовали? FileSeek()
Thank you very much. It's working now.
It seems to me, though, that common sense, in file add mode, the default pointer should automatically move to the end of the file when you open it, or the documentation for this mode could at least provide a link to this function to do it manually each time.
Your algorithm is correct. make a debriefing of possible errors and find out where the Expert Advisor reaches when executing this code.
+ print the calculated rsi values.