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
Default selected and shading
1
2
3
4
5
6
7
8
9
10
11
returnmyBullishdefaultDarkGreen1coloured(40,160,0)style(line,3)as"1 mins Bullish default (Dark Green)",myBullishdefaultDarkGreen2coloured(40,160,0)style(line,3)as"2 mins Bullish default (Dark Green)"
Seems its the format that was making it not possibe..
colorbetween (myBullishdefaultDarkGreen2 , myBullishconfirm1LightGreen2, barindex mod 40,160, 0, 55) // though you can leave out the barindex mod I think… different formats can confuse things
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue