Set "Current Market For Next Blocks" Block
-
The information about this block says, "Optionally, you can cause this block to repeat itself more than once with different default markets each time."
My question is how do you do this? This example that I built does not work: http://fxdreema.com/shared/DIJHbhY3b
Thank you

-
I think this description is old, because initially I was made that block to work with single market and 5 more optional, and then I transformed it into this way - with single input field where you write all markets seperated with ",".
"Comment" shows the only last value, the same with "Status". Better use Alert message to check markets.
Also notice that this when you do this cycle with different markets, this happens in the context of the current market - everything starts with the incoming tick of the current one, ticks of other markets are not considered.
-
I don't really understand the usage of this block - do you have a simple working example? In the meantime, I accomplished the task using condition blocks instead:
http://fxdreema.com/shared/DpfDgFn8e
"Set Current Market For Next Blocks" block seemed like it consolidates blocks - if current chart is symbol a, b, c, d, e, then run the following blocks. But I think my understanding is incorrect.
-
No, no, this block does not check the current symbol, it makes other blocks (those placed after) to think that the current symbol is not the real current symbol, and additionally if you wrote more than one symbols, it will self-repeat as many times as many symbols there are, every time setting the new symbol to the blocks connected after.
To check the current symbol... you already know how, that last shared project does that.
-
ok got it now, thanks
-
Is there a way to use 1 condition block for multiple markets, ex. if market == EURUSD OR GBPUSD OR JPYUSD OR GOLD?
-
actually, that would be a good feature for condition block in general if it doesn't already exist - to support multiple conditions in one block. If it does exist, would love to know how to use it

-
No, currently you can write single symbol name in the input field. Sometimes I'm thinking to make it so when you write "EURUSD, GBPUSD" to work for both of them, but there is a small problem - everytime this block is executed it will do additional calculations to detect how many different symbols are defined. This is not a problem in live, but in backtester such a things slows down the EA. Multiply the same simple small calculation tousands and even million times, and the results is extra seconds. So there are features that are good as an idea, but if they exists then the EA will be a little bit slower when backtesting

-
well, you could build a mutliple conditions block in addition to the single condition block and people could decide which one they want to use. In this case instead of having 30 different single condition blocks (1. if EURUSD 2. if EURUSDmicro 3. if GOLD 4. if GOLDmicro 5. if GBPUSD 6. if GBPUSDmicro etc.), I would prefer to have 1 or 2 multiple condition blocks (1. if EURUSD OR EURUSDmicro OR GOLD or GOLDmicro OR GBPUSD or GBPUSDmicro, etc.). Just an idea

-
Well, that's true. This is also at least 2-years old idea

-
just thinking, is there a way instead of creating a condition block for each market to create 3 condition blocks: 1) if market is 5 decimal places (that would cover EURUSD, AUDUSD, GBPUSD, etc and micro variations) 2) if market is 3 decimal places (that would cover JPYUSD & SILVER and micros) 3) if market is 2 decimal places (GOLD and GOLDmicro)?