RSI condition about Value
-
@l-andorrà

The problem is that from what I understand in this block "indicator rise" it does not check tick by tick, it checks previous candles.
What I need is to check "every tick".
The whole point is to measure the slope of the line, the more inclined the greater the demonstration of strength of the current movement and this is only possible to verify in the current candle. if it shows that the current tick is greater than the previous tick. -
I managed to get the values of the lines, now maybe to solve the question I can use a rule to check if the current value is greater than the previous value, how do I do this?
I know it involves a variable, but how should I do it to always save the values and compare them?
maybe create 2 variables.
Old value
New value
But how to save an old value and then save the new one in the old one when necessary? -
-
@fabiobioware Did I understand: you want to compare 2 consequent tick updates?
You are right with the 2 variables.
You must first save the new variable into the old variable.
Now the new is available for changing. The order is very important here.
https://fxdreema.com/shared/3rwfe1A6d -
@roar if i want to save the last 3 results then i would have to create 3 new variables, example:
old1
old2
old3and order to save the results in each other correct?
example:
old1 saves result on old2
old2 saves result at old3The condition to check if the current value is greater than the value of the last 3 variables is as follows:
current> old
old> old1
old1> old2
old2> old3is correct?
-
@fabiobioware yes. You can also put the variables in a comment block and see real-time how they flow through the steps
-
@roar said in RSI condition about Value:
yes. You can also put the variables in a comment block and see real-time how they flow through the steps
Greattt @roar thanks for your support, you solve my issue, thank very much.
i have group for fxdreema on whatssapp and telegram, would you like to participate? -
@fabiobioware thanks for the invitation, but I'll just stick here on the forum.
-
@roar great man, thanks.
-
can you help me again?
I created the variables 0,1,2,3
I realized that due to the speed of the ticks it is imperceptible to look at the human to see the changed values.
How do I generate a small delay in updating each value that is shown in order to identify if the values are really different at each tick? -
@fabiobioware do you use mt5? If yes, the tester has an option to go step-by-step.
Open the visual tester, pause it, and then press f12 to test next tick. -
@roar said in RSI condition about Value:
do you use mt5? If yes, the tester has an option to go step-by-step.
Open the visual tester, pause it, and then press f12 to test next tick.yes, mt5, i used this option to find out that it is changing, but there is no way to do this in fxdreema for the market?
-
@fabiobioware well, I dont see why you should delay the market prices, because the market will be always real-time anyway. In order to slow the process, you would have to skip some ticks entirely. For example, run the code on every 5th tick.. I think theres a block designed for that.
-
@roar said in RSI condition about Value:
well, I dont see why you should delay the market prices, because the market will be always real-time anyway. In order to slow the process, you would have to skip some ticks entirely. For example, run the code on every 5th tick.. I think theres a block designed for that
https://fxdreema.com/shared/x2iNXaZRd my project
0_1588768784768_DidiIndex.mq5 Indicator to this strategyCan you see if I'm making the variables correctly?
-
@roar

what I want is to know exactly how to create a condition using the variables to get this type of slope that is in the image, whenever this slope of the green and yellow lines happen on opposite sides and with this span it means a demonstration of an enormous strength of trend.
For this reason I am looking to monitor every tick, if you put this indicator on any forex pair you will see what I am talking about. -
-
@fabiobioware You get the slope by comparing current value to ID 1 value, no need for tick measurements.
The variables seem to be technically correct in the project.
-
@roar said in RSI condition about Value:
You get the slope by comparing current value to ID 1 value, no need for tick measurements.
The variables seem to be technically correct in the project.I didn't understand, can you give me an example by creating a project or including it in my project and sending it back?
What I understood would be the following:
If I create a condition:
value0> value1 = upward slopeIf I create 2 conditions and link one below the other:
value0> value1 = upward slope
value0> value1 = upward slope
Does this correspond to 2 consecutive inclinations? -
@fabiobioware so you want it to look like this:

and also it must continue looking like this for 5 ticks or so? -
@roar Yes.5 or 3 is necessary.

