Range Indicator
- This topic has 2 replies, 3 voices, and was last updated 5 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
Similar topics:
Forums › ProRealTime English forum › ProBuilder support › Range Indicator
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
// //============================== Trend haussier //Configuration haussière if (close > open) then UP = 1 else UP = 0 endif //Valeurs des configuration haussière if (UP = 1) then VHCORP = 0 + (close - open) VHMECH = VHCORP + (open - low) VHBMECH = 0 - (high - close) elsif (UP = 0) then VHCORP = 0 VHMECH = 0 VHBMECH = 0 endif //============================== Trend baissier //Configuration baissière if (close < open) then DW = 1 else DW = 0 endif //Valeurs des configuration baissière if (DW = 1) then VBCORP = 0 - (open - close) VBMECH = VBCORP - (high - open) VBHMECH = 0 + (close - low) elsif (DW = 0) then VBCORP = 0 VBMECH = 0 VBHMECH = 0 endif //============================== Trend neutre //Configuration neutre if (close = open) then NT = 1 else NT = 0 endif //Valeurs des configuration neutre if (NT = 1) then VNHMECH = 0 + (open - low) VNBMECH = 0 - (high - open) elsif (NT = 0) then VNHMECH = 0 VNBMECH = 0 endif //============================== Fin return VHCORP coloured (36,147,219) style (histogram,1) as "HCorp" , VHMECH coloured (36,147,219,50) style (histogram,1) as "HMeche" , VHBMECH coloured (101,101,101,50) style (histogram,1) as "HBMeche" , VBCORP coloured (101,101,101) style (histogram,1) as "BCorp" , VBMECH coloured (101,101,101,50) style (histogram,1) as "BMeche" , VBHMECH coloured (36,147,219,50) style (histogram,1) as "BHMeche" , VNHMECH coloured (36,147,219,50) style (histogram,1) as "HMeche Doji" , VNBMECH coloured (101,101,101,50) style (histogram,1) as "BMeche Doji" |
Some ways to (try to) detect a range:
https://www.prorealcode.com/topic/fehler-zwischen-indikator-und-handelssystem/
https://www.prorealcode.com/topic/range-compression-indicator/
You can also tell a likely incoming range when Bollinger Bands enter within a KC channel, or when prices sit within a range of pips in the last N pweriods:
|
1 2 3 4 |
N = 50 MyHI = highest[N](high) MyLO = lowest[N](low) IsRange = (MyHI - MyLO) <= 30 * pipsize |
Hello IV Mcm,
I use this indicator, that I modified a bit to be easier to read (I didn’t change the calculation process) :
https://www.prorealcode.com/prorealtime-indicators/squeeze-momentum-indicator-2/
It uses Keltner channel + BB, as suggested by Mr Robertogozzi.
Find exclusive trading pro-tools on 