Posts made by fxDreema
-
RE: bollinger BUY and Exitposted in Questions & Answers
Why you can't do it? On the picture you only show the buying part, there is no closing part. There is "Middle band" for bollinger bands, which is Moving Average anyway. So you can have something like "If trade - Condition - Close trades"
-
RE: Where should i start?posted in Questions & Answers
Ticks from start - this is how many ticks were registered since the EA started. 1, 2, 3 and so on... basically a counter that increments on every tick. You can't compare that value to Candle Open.
But what do you mean by "few ticks up"? Ticks are those events when the price changes. Maybe you mean pips, not ticks. In this case you can do something like this:

Candle Close is the current price, so this condition will pass when the body of the candle is > than 10 pips. Or maybe this, which should be the same:

About the "end of the candle", I have to say this: https://fxdreema.com/tutorial/builder/things-not-to-do#1
-
RE: Having troubleposted in Questions & Answers
I don't have the indicator, so it does nothing for me, but I can see something obviously wrong on the project. I tried to explain the problem here - https://fxdreema.com/tutorial/builder/things-not-to-do#2 In short, I don't like how those blocks are connected after Buy and Sell, they should be on their own chain of blocks.
-
RE: Need Ideas for this situationposted in Questions & Answers
I think you need to use some Variable to store the current states while the EA is working. The type of variable can be "int" or "string" if you wish, it's a personal choice.
Otherwise more "professional" would be to have an indicator to make those buy and sell signals.
By the way this is impossible situation:

.. because blocks does not wait to pass. You may take a look at this example: https://fxdreema.com/demo/mt4-wait-crossovers But I don't think it will work well for your strategy.
-
RE: BUTTON ON CHART, TO TOGGLE BLOCKS OFF AND ON.posted in Questions & Answers
I just posted an example in another topic: https://fxdreema.com/forum/topic/6505/how-to-work-with-the-buttons/2
-
RE: please with my EA to create new alert when a higher/high, lower/low formsposted in Questions & Answers
You are using some indicator? Maybe Fractals...
-
RE: I Use FXdreema Mq5 And Create EA But found big problem?posted in Questions & Answers
@Moon, you also make sure that all the input parameters are correct. This is the main reason for that "indicator not handled" error
-
RE: Connecting Binary Options to EA signalsposted in Questions & Answers
I think you have mt2binary block already
-
RE: how to work with the buttonsposted in Questions & Answers
https://fxdreema.com/shared/wMaMALJbd
The problem with buttons is that they act more like switches, they are either pressed or de-pressed (down or up). They don't automatically move up when you press them and I don't know for an opton to do that.
-
RE: Implementing MA and RSI indicatorposted in Questions & Answers
I don't know how to put MA over another indicator in the code in the way you do it in MetaTrader
-
RE: My mq4 file problemposted in Questions & Answers
When clicking on .mq4, the EA builder generates the code and you can download it. When clicking on .ex4, the EA builder generates exactly the same MQL4 code, compiles it using original compiler (metaeditor.exe) and you can download the compiled file.
When something doesn't work as expected, take a look at the logs for error messages.
-
RE: Open sell position when buy position reaches a specified lossposted in Questions & Answers
Making a sell pending order when opening the position?
-
RE: Stops being moved in the wrong directionposted in Questions & Answers
At 14,15,16 SL is placed 12 pips below the Open Price:

That Open price appears to be the one from the original trade. You want it to be the one from the partial trade?
I'm not sure that I understand the second question. There is hard SL created by the trailing stop block and when that SL is hit, the trade is gone, I think that is normal.
-
RE: "Write to file" blockposted in Questions & Answers
I see. Yes, I made some update before and it looks that I did it wrong. I removed flag FILE_READ, because we only write there, but without that flag the file is always overwritten. I think I fixed it
-
RE: Average signals to buy/sell Strong VS Weakposted in Questions & Answers
Here is some example: https://fxdreema.com/shared/JV7xeFcad
I have the variables defined like that:

Then in block 2 I reset the variable GBP before incrementing it. If I don't reset it, its value will go up every time.
Block 3 is a loop, it runs block 4 (and 5) once for each symbol that I defined. And my symbols are:
EURUSD,GBPUSD,USDCHF,USDJPY,USDCAD,AUDCAD,AUDUSD,AUDCHFThese symbols are obviously not related to GBP, but I have them in my MT5. You can write yours.
After that in the Condition I don't have anything for Symbol. It's because the Symbol is set from block 3.
And then I increment the value of GBP.
I can actually reset the variable in block 3 and increment it in block 4, so blocks 2 and 5 can be removed, but it's not bad if they are visible.
-
RE: Average signals to buy/sell Strong VS Weakposted in Questions & Answers
Do you have errors, such as "Error: Indicator not handled" ? I have those, but I think it's because in my MT5 I don't have some of the symbols that you are using. So I will try with symbols that I have
-
RE: Average signals to buy/sell Strong VS Weakposted in Questions & Answers
I don't know why, but variables are missing (GBP and USD). Also, before incrementing their values, you should reset them to 0 I think.
I would also use that block "Set Current Market for next blocks", but I tested it and for some reason it fails. I need to check why it doesn't work with it