Get Daily Change
-
Hello friends,
Do you know where I can find in Fxdreema the place to get the (daily change) value of the currency pair for example EURUSD ?
Notice in the image below that I want to get the value that is in %.
To enable the display, just click where the assets are shown with the right mouse button and click "columns" and then "daily change"
-
perhaps you could use a formula block, and use 2 points we can get from dreema selection. Maximal ask of day, minimal bid of day.
-
@tipsywisdom I agree. The only way to get it is creating the calculation on your own via formula block, for example.
-
surely theres a simple code you could pull from, i just dont know what it would be named
2 examples I use, for example
MagicStart
Symbol()there must be something that simple, I just couldnt find it through a google search or search of the mql forums
-
Hi friends @TipsyWisdom and @l-andorrà , thanks for trying to help, I got what I wanted by doing the following:
We all know that the daily % calculation is measured by the distance of the current price in relation to the closing of the last candlestick of the previous day.
So it was very simple.
I made this calculation and printed it on the chart as below.
I hope this helps someone because it is helping me a lot.

Project https://fxdreema.com/shared/zaxL9bUsd -
@ontradingx Just correcting, the condition block is not necessary, I removed it from the project.
-
I'm now trying to develop a way to get the following values:
Higher spread
Lower spread
How this should be done.
A loop should happen through the last 24 hours as soon as the EA is placed on the chart, and the EA should scan for the highest and lowest spread value on that chart where the EA is placed.
I currently only manage this via backtest, because in the backtest I can get the maximum and minimum value because it is a market simulation, in the real market I was also able to do it because it reads each candlestick and makes the calculation looking for the exceeded maximum and minimum values overcome.
But the most difficult thing is in the real market to make it look for past values, these values are in the metatrader's history, the Fxdreema Loop only allows it to be done by candles. works by market ticks.
Having the lowest spread value automatically is a very good thing to have for trading as it avoids entries with absurd fees and saves you from manually looking in the metatrader's history.
I'm now trying to develop a way to get the following values:
Higher spread
Lower spread
How this should be done.
A loop should happen through the last 24 hours as soon as the EA is placed on the chart, and the EA should scan for the highest and lowest spread value on that chart where the EA is placed.
I currently only manage this via backtest, because in the backtest I can get the maximum and minimum value because it is a market simulation, in the real market I was also able to do it because it reads each candlestick and makes the calculation looking for the exceeded maximum and minimum values overcome.
But the most difficult thing is in the real market to make it look for past values, these values are in the metatrader's history, the Fxdreema Loop only allows it to be done by candles. works by market ticks.
Having the lowest spread value automatically is a very good thing to have for trading as it avoids entries with absurd fees and saves you from manually looking in the metatrader's history.
Do you have any idea how we can get this? -
@ontradingx Am not sure how to set a loop up for this but if this helps the spread is the distance between the ask and the bid.
-
@ontradingx That is an ambitious project. I recommend to find a custom indicator doing all those calculations (is possible) instead of programming it all via fxDreema. Just a suggestion.
-
@l-andorrà Thanks my friend, I really like to try to unravel what I can in Fxdreema, and only when I run out I look for an indicator.
But I believe that soon I will find out and here I will share. -
@ontradingx That's the good spirit!
Please don't hesitate to share if you make it.