niktron: Hello! Could you please tell me how a condition looks like - if(first bullish candle's body length >100) Just doesn't work like this: if(Open[1]<Close[1]&&Close[1]-Open[1]>100)...Thanks in advance)))
The EA is placed on a tick chart. The test EA draws different coloured winding lines to buy, sell and close. It opens to the required side on
Condition on _buy/condition _sale. It should close after the specified time. I.e. it opened at 17-55-32. The specified time for the position to exist is t1=1 minute.
It means that the position should close at 17:56:32.
It practically opens and closes right after. The code does not work, it may be because of the tick chart or an error in the code.
Hello! Could you please tell me how a condition looks like - if(first bullish candle's body length >100) Just doesn't work like this: if(Open[1]<Close[1]&&Close[1]-Open[1]>100)...Thanks in advance)))
Thank you very much!
Thank you so much...again I forgot to multiply by Point)))
Good afternoon!
I can't see the quotes on my chart. Please advise what is the reason?
Regards, Sergiy
Good afternoon!
I can't see the quotes on my chart. Please advise what is the reason?
Sincerely, Sergiy.
More information, telepaths do not sit here, they sit further over there.
Z.I.: although I can assume that it's just a problematic android model, already discussed on the forum in the android thread.
I'm not a telepath, the telepaths don't sit here, they sit further over there.
Z.I.: although I can assume that it's just a problematic android model, already discussed on the forum in the android thread.
Thanks!!!
Well if
None, just run in the tester for specific days.
Although if you need a frequent and large sample, it's easier to check the desired dates against the iTime of the day period.
Something like this?
int start()
{
if (
iTime(Symbol(), PERIOD_D1, 0) != StrToTime("2013.12.8")&&
iTime(Symbol(), PERIOD_D1, 0) != StrToTime("2014.01.15")&&
iTime(Symbol(), PERIOD_D1, 0) != StrToTime("2014.01.22")&&
..................
)
return(0);
...................
Something like this?
int start()
{
if (
iTime(Symbol(), PERIOD_D1, 0) != StrToTime("2013.12.8")&&
iTime(Symbol(), PERIOD_D1, 0) != StrToTime("2014.01.15")&&
iTime(Symbol(), PERIOD_D1, 0) != StrToTime("2014.01.22")&&
..................
)
return(0);
...................
It's an odd code. It's up to you, though.