Create the enum, if 1 is selected activate the relevant block, if 2 is selected activate a different block etc. You'll see how to achieve in here: https://fxdreema.com/shared/Q79GHec1c
Posts made by jstap
-
RE: Enum Operators as Inputsposted in Questions & Answers
-
RE: How to test different conditions one timeposted in Questions & Answers
Have each on/off as a different number, then optimise by changing the constant assigned to the blocks.
-
RE: Having Issue Implementing Cut Loss in one of my Strategiesposted in Questions & Answers
Put the variable into a comment so you can see the result.
-
RE: using Ticks per Seconds as a filterposted in Questions & Answers
I mean put the market properties into a comment, so you can see the ticks change
-
RE: using Ticks per Seconds as a filterposted in Questions & Answers
This looks like it would do what you want, create a test project with this count in a comment, just to check that this is/is not working as expected, then add to this post if trades are placed when they shouldn't be.
-
RE: using Ticks per Seconds as a filterposted in Questions & Answers
Effectively ticks per second (price change) is volatility, add your project link, to see what's happening.
-
RE: check free-margin before placing orderposted in Questions & Answers
I am unsure how you would get a specific symbol leverage
-
RE: Check trades and For each trade blocks are not working in my projectposted in Questions & Answers
What I mean is move blocks to rhe side, link out and switch off until you find the problem, probably just need to rearrange the order.
-
RE: Set Auto Stop loss and Take profitposted in Questions & Answers
I am unsure could it be because you haven't set the for each block?

-
RE: check free-margin before placing orderposted in Questions & Answers
Interesting, has never happened to me, maybe this is an MT5 thing, if it works it is all good
-
RE: check free-margin before placing orderposted in Questions & Answers
C:: is used in something like AutoHotkey scripting language, so probably better to delete that. In 302 delete the type, create in the variable list, then put variable into a comment and check it you are getting the relevant value
-
RE: check free-margin before placing orderposted in Questions & Answers
Does this c::MaxOpenRisk work in mql4 language? Under a if testing block I would copy from on chart so I could backtest all. Tell me what blocks are not doing what you want
-
RE: check free-margin before placing orderposted in Questions & Answers
Add a shard link to look at.
-
RE: pips distance multiplierposted in Questions & Answers
It would be something like this: https://fxdreema.com/shared/7ToM1Rtcd
-
RE: How can you make an EA to close trade when the candle change from bull to bearposted in Questions & Answers
You will have to explain more about what you mean, generally though especially in high volatility and lower TFs this will happen over and over on candle 0.
-
RE: Check trades and For each trade blocks are not working in my projectposted in Questions & Answers
Technically this should work but, you have a no trade nearby which is possibly a loop causing the top blocks to be ignored, problems often come from too many blocks trying to do the same thing, strip it back and test one block, before adding the next.
-
RE: Help with Complex Trading Strategiesposted in General Discussions
Click this, let me know what happens: https://mybook.to/fxDreema or this but you might to change the .co.uk https://www.amazon.co.uk/Creating-Robots-fxDreema-J-Sterling/dp/B0CNP3WPZV/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=&sr=
-
RE: EA that has to handle orders/orders a couple at a timeposted in Questions & Answers
This is more work because the EA placing trades will need to check other symbols, if you try this and test, then add a shared link to look at. Multiple symbols will not work on backtest though.
-
RE: pips distance multiplierposted in Questions & Answers
Your current project can't work because nothing is connected. Place a trade, then with pink every x.xx pips away using a variable, place the new trade and multiply the variable pips by *1.5 in a formula so the next so the neat trade is only placed at an increased pip value
