"text (code input)" option
-
Hi everyone !
Can someone help me about the "text (code input)" option ?
My plan is when I read parabolic sar value to sort them if the dot is above or below the candle on the lasts 50 candles.
I could do a lot of loops like :
if candle ID read is 0 store value in psar_dn_0 or psar_up_1
if candle ID read is 1 store value in psar_dn_1 or psar_up_1
50 times...Or I feel like text code input is my way to go to increment the variable where it is stored but I cannot find anything about it.

Thanks for reading me
-
@jerkha I think you would be better off with custom code, not sure how you would acheve though, I have tried this same thing with fractal using a loop but I couldn't get it to work.
-
@jstap I did one with fractals : https://fxdreema.com/shared/2NDyXbqI (DM me if needed)
It was easier because fractals have the option "fractal mode" to filter if it is above or below -
@jerkha Interesting thank you, I find PSAR easier as you just check if it is above/below the candle. https://fxdreema.com/shared/me0eUYMNd
-
@jstap This is a good one and might be helpful, thank you !
My issue is mostly storing value of each dot to make calculations.
I did what I said in first post even if it is redundant. Maybe one more elegant solution will be found.