Forums › ProRealTime forum Français › Support ProBuilder › Modification color between › Reply To: Modification color between
11/21/2024 at 1:59 AM
#240610
Essayez avec cette approche simplifiée.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
//// v1.1 /////////////////////////////////////////////////////////////// //// Zone de couleurs : selon des conditions //////////////////////////////////////////////////////////////////////////// mbTendance = ( Average[9](filt) + filt)/2 if mbTendance > mbTendance[1] then red=0 green=0 blue=255 elsif mbTendance < mbTendance[1] then red=255 green=0 blue=0 endif colorbetween(lband,hband,red,Green,Blue,88) Return filt style(line,4) coloured(barcolorR,barcolorG,barcolorB,255) as "Range Filter", hband style(line,2) coloured(upColorR,upColorG,upColorB,100) as "High Target", lband style(line,2) coloured(downColorR,downColorG,downColorB,100) as "Low Target" |