Forums › ProRealTime English forum › ProScreener support › Pocket pivot point › Reply To: Pocket pivot point
05/08/2024 at 7:54 AM
#232451
Hi. Here you have the code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
//---EMA ema50 = average[50,1](close) //---Green and Red volume bar green=close>close[1] red=close<=close[1] //---Volume red if red then volred=volume else volred=0 endif //---Maximum volume red in 10 bars maxvolred = highest[10](volred) //---Setup c1 = close > ema50 c2 = close > 2 c3 = green c4 = volume>maxvolred setup = c1 and c2 and c3 and c4 screener[setup] |