does my block 7 & 8 really ensure 1 trade at a time?
-
Hi all,
refer to my simple EA of MA crosses.
does block 7 & 8 ensure that there will only be 1 trade at a time?
example if MA1 > MA14, BUY will execute until it takes profit, trailing stop/stop loss hit.or, it will not work? as long as MA1>MA14, it will continuously open new BUY trades?
or did i do something wrong. i think i notice EA placing few trades before earlier trade closed.
i need it to place 1 trade at a time only, no next trade until previous trade exit.how do i know the block 7 & 8 is working other than forward testing? backtesting seems okay.
-
Yes, from what I see you should have 1 trade at a time. And the block on the top should be enough. If it doesn't happen this way, do you have evidence about that?
These days I actually discovered some problem with this block and I believe that I fixed it. But this block is probably the most important block and it's not a good idea for it to fail.Another reason for double-trades can be if you have some forgotten EA working on other chart.
-
hi there.
Please refer to attached image extracted from mt4.
Highlighted in green.
On the left you can see the entry time & date, while the right side highlighted green you can see the exit time & date.You can see there are a few trades executed even before the first trade exited.
So it seems the "NO TRADE" block does not work?thank you.

-
-
instead of block No trade use this:
https://fxdreema.com/shared/2pTd7K2Ad -
-
@haliloo said in does my block 7 & 8 really ensure 1 trade at a time?:
ok i try it out
so just replace no trade with "if trade b" and "if trade s"?
yes,exactly as I sent to you in example

-
hi thanks.
do i have to include the "draw arrow"?
what is this function does? -
without draw arrow, draw arrow is only for your visual representation (instead draw arrow you give what you need)

-
hmm i tried the check trade counts block
seems to have error when i compile it, it says something about description...as below
i just replace the IFTRADE with CHECK TRADE COUNTS block
'sign' - declaration without type
-
that must @fxDreema check

-
hi any reply on the following:
haliloo 2 days ago
hmm i tried the check trade counts blockseems to have error when i compile it, it says something about description...as below
i just replace the IFTRADE with CHECK TRADE COUNTS block
'sign' - declaration without type
-
Don't check those checks for optimization for all parameters, only for those who are normal input fields that contain numbers or text
If "No trade" is broken, I would expect it to allow multiple trades in short period of time, which is really bad. But your trades are placed in minutes apart. It looks like some kind of strategy is happening. Not to mention that "Once a day" should prevent anything below it to happen more than 1 time a day.
Are you really sure that you are working with the correct EA in MT? -
hi, i will try again using IFTRADE like the one suggested above for next week.
How about CHECK TRADE COUNTS? MT4 detected error with the message:
'sign' - declaration without typewhen i try to compile it coz i cannot attach the EA in mt4
-
hi miro and everyone,
hmm it seems with IFTRADE function the mt4 still trigger multiple entries.
By the way i am testing it with oanda mt4.
Perhaps this problem only happen with oanda mt4?will monitor til end of week and compare with other broker's mt4
-
TeamViewer?
-
sorry no gona use team viewer

here is printscreen taken on oanda own java platform which is linked to the mt4
as u can see the multiple entries on the right
on the far left is the first entry which is a single trade
-
-
What the... Is it possible that something wrong is happening because you are using different setup? After all, it looks that you are the only one with this problem at the moment. When someone has unique problem, this is mostly because he is doing something unique. But what is the problem exactly I can't tell, because my setup is like normal MetaTrader.
Not at all, this forum is brand new and the only one available for NodeJS... and I think its good... when you understand how it works
