But I don't know what the numbers mean. I've tried to delete some parts, but I get ')' - wrong parameters count C:\Program Files (x86)\MetaTrader 4\experts\ICHIMOKU_F1.mq4 (21, 51)
Set it to 0 then you will need to keep checking for when tenkan-sen<kijun-sen and then when it is you close the order . . . . the downside of this is that if you have an open order and you lose connection to the Internet your trade will stay open and a winning trade can turn into losing trade.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Ok it works in the strategy test now, however, more than one trade is placed - several every minute. Which bit of code should be changed?
And I understand that you guys must be pretty annoyed by now, but if you don't ask you don't get.
Ok it works in the strategy test now, however, more than one trade is placed - several every minute. Which bit of code should be changed?
And I understand that you guys must be pretty annoyed by now, but if you don't ask you don't get.
Okey dokey, I know it's to do with this line.
But I don't know what the numbers mean. I've tried to delete some parts, but I get ')' - wrong parameters count C:\Program Files (x86)\MetaTrader 4\experts\ICHIMOKU_F1.mq4 (21, 51)
Ok it works in the strategy test now, however, more than one trade is placed - several every minute.
Ok I've made significant progress. However t/p is executed as soon as the pair price increases by 0.0001.
The code now looks like this:
a t/p seems to be placed automatically; I don't know which part to change