Can you tell me how to write to MQL5 this loop order?
-
Can anyone tell me how to create a loop trade such that
- EA opens order with target profit at 200 basis points and stop at 100 basis points
- If stop or target is hit it will open order again in opposite direction with same target and stop
step 1 and 2 need to loop continuous so there is no downtime
-
Check the last closed position and open the opposite type: https://fxdreema.com/shared/1pqRSQkdb
-
How do I loop it so it is always in a trade?
-
What is that mean? When the position hits SL or TP it's gone. Then when that is detected, a new one is created.
-
I tried to add it to mt5 and it did not recognize the file.
It said there was some type of conversion error.
Can you give me a mql5 file I can download and can you make it check for correct S/L T/P at all time just in case account on network was manipulated. -
On your account I see some MT4 project, not MT5. And it's a little bit wrong, Buy now and Sell now should come from both outputs of the previous block, not from the same output. Or you can download the .mq5 file from the project I give above, and then import that file in fxDreema.
-
That's what I'm saying. I tried to download your file to mql5 and install in MT5 and it says it has a wrong conversion type or something, and won't compile.
Can you give another mql5 file, here at the forum, that I can download to MT5 metaeditor and compile at there.
And can you make the mql5 include to check for correct S/L T/P at all time just in case account on network was manipulated?
-
I can load .mq4 file generated from https://fxdreema.com/shared/1pqRSQkdb in both, web and local version. But anyway, I think it's not that hard to make some 4 blocks manually, this can happen in less than 1 minute.
I don't understand the last question
Who will manipulate stops at the network?
And what network? -
Why doesn't it show in MT5 then? When I downloaded the ex5 file they don't show in the MT5 EA list. When I download the mql5 file it does not compile in MT5 metaeditor. So how do I get the file to show in MT5 EA list or compile using metateditor? That is what I was trying to say is the problem.
-
This depends on too many things these days: topic/2374
And what is that conversion error, isn't it just a warning? If it is "possible loss of data due to type conversion" - this is not fatal. There are warnings and errors. Errors are fatal, warnings are only annoying messages.
-
I got it working, can you tell me how to turn the stop to Trailing stop only?
I need an EA that does not set target, or stop, only uses a defined trailing stop, and reverse entry and exit.
-
Mmmm, something with pink blocks (pips away from open price) and few Conditions?
-
I got that working.
But how do I make an indicator only? Not EA
-
Well, fxDreema is only for EAs and Scripts, it's not for indicators
Any EA can draw some basic objects (arrows, texts here and there) that also indicators and scripts can, but that's all they can.