@FPorelli the id variable gets its value here, no need for anything else

Posts made by roar
-
RE: How to recognize a candleposted in Questions & Answers
-
RE: Custom Indicator not showing data after X barsposted in Questions & Answers
I would guess just change this number in the code.
Alternatively, just run a visual backtest.
-
RE: How to do I build a multi timeframe\symbol portfolio?posted in Questions & Answers
@gooseman ok, if MA has a variable timeframe as well, its better to use slightly different structure.
- Start with the market selection loop
- Record the currently selected market into "market" variable
- Run a checkup in custom block: if market is this, set timeframe to this and set rsi target level to this
- Apply the found timeframe to every next block
- Run the MA and RSI conditions with the previously selected variable timeframes and target levels
-
RE: How to do I build a multi timeframe\symbol portfolio?posted in Questions & Answers
@gooseman so you have different RSI timeframes and different RSI levels for each symbol?
In that case, I would first record the RSI on all timeframes into their own variables, also record the currently selected market, and then do the symbol + RSI check in one big condition block.
For the syntax, && means "and", || means "or".This doesnt compile since I dont have all your variables, but I hope you get the idea
https://fxdreema.com/shared/D0LMD4HncTo avoid the unnecessary loading of all RSI timeframes for all symbols, you could first do a checkup for the correct TF for the selected symbol, but it is not strictly needed
-
RE: 4k Monitor - Comment blocks Values overlay on screenposted in Bug Reports
@VanceDavid this is mainly an issue with Metatrader itself, there is not much Fxdreema EA builder can do about it.
Check this: https://www.youtube.com/watch?v=3T3XZDy5Vk0
-
RE: How to do I build a multi timeframe\symbol portfolio?posted in Questions & Answers
Just put the market loop on top. Dont use the other filters - symbol or group - in other blocks.
If you have special settings for each symbol, then you need an array.

-
RE: How to recognize a candleposted in Questions & Answers
@FPorelli like this: https://fxdreema.com/shared/oMA9J5TZb
@ZakTrading before using pink blocks, you should always select your trade with the purple loop block. Sometimes a trade might be already selected and the pink block works alone, but it will cause bugs if the last selected trade is not what you wanted
-
RE: how to identify objects in mt5 any ideas ?posted in Questions & Answers
Every object is listed in Objects list, and you can search through it in a loop
-
RE: Button Click Open New Chartposted in Questions & Answers
Basically you can just use the ChartOpen function: https://www.mql5.com/en/docs/chart_operations/chartopen
-
RE: Optimization and Backtestingposted in General Discussions
Tick data can be expected to take 10x more time...
Fxdreema projects are inherently slower, but there are some performance optimization you can do:- move the "once per bar" to the top of your flow
- dont use the yellow (false) output of the "once per bar" I think its just a mistake in your project
- "close positions" block is known to cause infinite loops, see here: https://fxdreema.com/forum/topic/16494/close-positions-when-market-is-closed
-
RE: Expert properties displayposted in Questions & Answers
@talshemtov you need to declare a new constant for each MA setting. Find the correct enumeration from mql5.com:
https://www.mql5.com/en/docs/constants/indicatorconstants/enum_ma_method
-
RE: My Indicator generates compliation errorsposted in Questions & Answers
Datatypes (int, bool) are lower case
-
RE: candle parameter repeats same sub parameter ?posted in Bug Reports
Those price constants are determined by mql5 themselves: https://www.mql5.com/en/docs/constants/indicatorconstants/prices
"Average" might not be the optimal term there, but the calculation is correct nevertheless

-
RE: All Blocks Resized + Lost All Connectionsposted in Bug Reports
@Mantadiver you have 10000 unique blocks without any pattern among the blocks?
If not, I'm willing to bet you can reduce at least 70% with some new structuring. You up for it?

-
RE: Some of my fxd EA's won't reinitiale after changing settings or timeframesposted in General Discussions
https://fxdreema.com/forum/topic/16310/when-to-stop-oninit
Admin has already answered on this issue, there is no problem in their view
-
RE: Once Per Bar Still Opening Multiple Tradesposted in Bug Reports
Only the orange output activates once per bar, yellow activates on every tick

