Hi all
Unsure if this should be 2 posts but it realates to one indicator coding…
I have multiple returns on an indicator and wish to have most unselected by default but am amiss to find a reference making it possible… Any pointers? Sample code below for reference.
———————————————————————————-
When looking to shade in certain areas using the colorbetween code the colour is atrocious and I’m unable to find a format to customise it. Opacity and colour choices required… or do need to find another coding solution? Sample code below for reference.
Is there a way to do (R,G,B,opacity)?
Any pointers welcomed..
Cheers
return myBullishdefaultDarkGreen1 coloured (40,160,0) style (line,3) as "1 mins Bullish default (Dark Green)", myBullishdefaultDarkGreen2 coloured (40,160,0) style (line,3) as "2 mins Bullish default (Dark Green)"
// above return code
//below colorbetween code
If myBullishdefaultDarkGreen2>myBullishconfirm1LightGreen2 then
COLORBETWEEN(myBullishdefaultDarkGreen2,myBullishconfirm1LightGreen2,"lightgreen")
endif
If myBearishdefaultRed2<myBearishconfirm1Orange2 then
COLORBETWEEN (myBearishdefaultRed2,myBearishconfirm1Orange2, "red")
endif
No pointers needed (indeed they are not supported).
Opacity, or transparency, is all you need as you can see at https://www.prorealcode.com/topic/switch-indicators-on-off/#post-173048.