Logic questions.
-
I have a couple questions. All answers are appreciated. I’m trying to expand my horizon with using fxdreema.
-
am able to add in more than one buy and sell block into my ea’s logic? I ask because I’m trying to give it some situational awareness based off certain logic I have in mind.
-
I was trying to use the indicator rise and indicator fall condition blocks after regular condition blocks is this the right way to use them? I tried using them alone but didn’t get any trades made so please tell me how to correctly use an indicator condition block to back the idea of my condition block. Sort of like a confirmation method.
-
When trying to use the awesome oscillator I think I’m using it incorrectly as I can’t not tell which operand (left or right) corresponds to the red or green color of the awesome oscillator candles. And then there is the zero level.
-
For the type in condition block can I just make a simple sentence or does this take coding logic? Yes I have discovered the mql4 book and will read it upon the journey of building this ea I have in mind.
-
How to correctly use take profit and stop loss as I noticed during strategy test it seems to be going by profit rather than the count of pips I input.
-
What’s the difference between once per bar and once per tick? Let’s say I set a condition block and then set a once per bar block underneath then set a indicator rise or fall block underneath that corresponds with the indicator in the first said condition blocks will that run correctly? Will the ea check for the condition block I set per candle as well as confirm it with the indicator condition block? Or at least that’s the confirmation logic im trying to make happen here.
-
Last but not least can I use multiple of the same blocks on one page to make the ea think for different circumstances. Such as when to close, maybe some entries, when to close a trade if said indicator are showing to reverse, etc. Thank you for all who take the time to reply!
-
-
- You can add as many as you want, just ensure they are only activated when needed.
- Use them when necessary, the logic is basically if "this" happens, do "this".
- Without looking at it, there will be two buffers use the one for the level you need, 0 can be referred to by using the value 0.
- Need more information on what you require, some coding can help, but for the most part, it is already inside blocks.
- You have to explain more, but this works as stated, and if you drag your terminal cross hair between open and TP/SL you will see it matches.
- Once bar happens every X minutes, 1 minute chart it happens once every minute, 1 hour chart it happens once every 60 minutes, referred to as the candle opening. Once per tick happens every tick, which varies between many per second, to a few in an hour.
- You can have as many as you want, separate trees, and tabs and in the same trees and tabs.
-
@jstap thanks for the explanations! So if I am correct I can use the indicator rise and fall blocks along with the type in conditions blocks to make the EA analyze a bit more before making the trade with said conditions, if not I’m looking to find a way for the ea not to trade in certain conditions. I’ve done some strategy test and I’m seeing how much loss I’m taking on by the ea not realizing certain conditions are happening as the conditions I set are getting met. If you see what I mean.
-
That sounds exactly how you would have things work. If things go wrong you can add a shared link and ask how to resolve it.