Good evening,
im quite new in AFL Programming and need some help.
Here is my problem:
I Want to mark the lowest vertex of the RSI Value within a variable period with an Setpoint named L. Additional i only need Setpoints which are RSI< "unten" (for example 30)
I tried a lot but still not get it.
Here is my basics:
Please do yourself a favour and plot LLV then you will see why ValueWhen is not correct way of getting location of lowest low.
As to the OP...
@Regenbogenhamster,
It is not really rock solid clear what you are actually looking for.
Do you look for lowest RSi being lower than 30 within visible range?
Or for the lowest RSI since cross below 30?
Or for the lowest LLV(RSI,period) since cross below 30?
Or for the lowest LLV(RSI, period) of visible range?
Or...?
Hallo fxshrat,
thanks for your reply.
i had no clue there are so many ways to understand my question, sorry for writing not clear.
i hope this picture will make it clear:
L has the following conditions:
-has to be lower than 30
has to be the lowest point in defined Range or otherwises two L's should not be closer than range_L
it does not matter if RSI was crossing 30 or not within the range nor how many times it was crossing
i want to mark every low, not only visible lows
if i use
Lowestvalue = llv((RSI(periods)),(range_Low));
and print the Lowestvalue i only have the half of the Range (+ range_L). With this i will get the blue and the red points marked but i only want the red points to get marked.
i also tried to use (range_L*2) and introduce a second variable Lowestvalue_absolute. Then i tried to give the variable Lowestvalue_absolute the information of Lowestvalue with the distance "range_L", like shunting the information. But it also did not work.
Otherwise i could use the second variable Lowestvalue_absolut to compare Lowestvalues that are closer than range_L but i did not manage to write a comparison.
im sorry for explaning so difficult, it is hard for me to write it in english (Greetings from Europe!) also i realy start with coding AFL so often im missing the commands to use it right.
I don't think it is possible to know if an indicator has reached it's lowest value within a specified range until after it happens. But if you figure out how, please share!