Note:
your inputs are 0:00 … 3:59 and with the equals your code runs from 0:00:00 … 3:59:00. It does
not run on the last minute. By dropping the trailing equals
and using 04:00, your code will run from 0:00:00 … 3:59:59 which is what you really want.
Note: your inputs are 0:00 … 3:59 and with the equals your code runs from 0:00:00 … 3:59:00. It does not
run on the last minute. By dropping the trailing equals
and using 04:00, your code will run from 0:00:00 … 3:59:59 which is what you really want.
During your proper times you don't fill in buffers 0/1. Outside of those times you do fill in the
historgrams (blue or yellow.)
Thanks for your reply will be careful..
i still don't understand
histou[i] = EMPTY_VALUE;
histod[i] = EMPTY_VALUE;
i changed the EMPTY_VALUE to Buffer_0/Buffer_1
but still nothing but an ERROR
can you please solve it and reply the right code
this is the mt5 indicator... it was converted to mq4
Hello.. am creating an EA based on a custom indicator... the problem is filtering the buy and sell signal
after creating the EA to open buy on buffer ''0'' and sell on buffer '1' but the EA will open only sell orders on a buy/sell signal (all signals)
after trying some modifications for 2 days, and some help from some programmers it will open both a buy and sell at once
am sure the problem is from the indicator coding
suggest sell buffer coding separately and buy buffer coding separately
Thanks
General rules and best pratices of the Forum. - General - MQL5 programming forum
Next time post in the correct place. The moderators will likely move this thread there soon.
Outside of those times you do fill in the historgrams (blue or yellow.)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Next time post in the correct place. The moderators will likely move this thread there soon.
Outside of those times you do fill in the historgrams (blue or yellow.)
Thanks for your reply will be careful..
i still don't understandi changed the EMPTY_VALUE to Buffer_0/Buffer_1
but still nothing but an ERROR
can you please solve it and reply the right code
this is the mt5 indicator... it was converted to mq4