Working on indicator of absolute strength to show direction rather than crossing over and I’m trying to change into a basic over the zero line histogram it’s not displaying for some reason hope there’s a fix thank you
// Conditions to long
indicator1, indicator2, ignored, ignored = CALL "PRC_Absolute Strength"[1, 10, 1, 2](close)
AASI = indicator1 - indicator2
indicator3 = AASI[4]
c1 = (indicator3 > indicator3)
// Conditions to short
indicator3 = AASI[4]
c2 = (indicator3 < indicator3)
// Death Cross detection
if c1 then
i=0.5
endif
if c2 then
i=-0.5
endif
return i as "AASIHL"
SORRY got t to work some what but it not line up right
Yeah sorry I got it to display play but it’s not lining up with the indicator above so when the indicators going up and is blue i’d like to histogram to be above 0 and when the line is going down the histogram to be below zero I have inserted a picture down below thank you
// Conditions to long
indicator1, indicator2, ignored, ignored = CALL "PRC_Absolute Strength"[1, 10, 1, 2](close)
AASI = indicator1 - indicator2
indicator3 = AASI[4]
c1 = (indicator3 > indicator3[1])
// Conditions to short
indicator3 = AASI[4]
c2 = (indicator3 < indicator3[1])
// Death Cross detection
if c1 then
i=0.5
endif
if c2 then
i=-0.5
endif
return i as "AASIHL"
elow and I will link the code as well thank you very much guys
VERY SORRY I GOT IT WORK could you delete this whole topic thank you
Let’s keep it. It could of help for other interested.
They can be intrested for two reasons:
- learn that something cannot be different from itself
- learn that with passion, determination, work and reasoning you can achieve good results
If you have a chance to visit GraHal‘s profile read his motto.
Thank you for sharing 🙂