Keltner + volume + Heikin
Forums › ProRealTime forum Français › Support ProBuilder › Keltner + volume + Heikin
- This topic has 3 replies, 2 voices, and was last updated 1 month ago by paulselvan.
-
-
03/23/2024 at 11:19 AM #230307
Bonjour
Je voudrais sur prorealtime ,à la fois en screener et en indicateur, cette stratégie utilisant Keltner, Volume et Heikin Ashi (voir MT5 img )
——————————————————————————————-
Voici les indicateurs utilisés :
1> vol = indicateur volume tick
1a> avg_Vol = moyenne mobile simple de 50 périodes sur volume
2 > ema = moyenne mobile exponentielle de période 50
3 > atr = Average True Range de période 50
4 > K_Dn_Out = ema – 3.5*atr
5 > K_Up_Out = ema + 3.5*atr
6 > K_Dn_In = ema – 2.5*atr
7 > K_Up_In = ema + 2.5*atr
8 > HaC = Heikin Ashi Close
——————————————————————————–==> signal d’achat
>HaC doit clôturer sous K_Dn_Out
>puis aux bougies suivantes , HaC doit clôturer au-dessus de K_Dn_In avec vol > avg_Vol
——————————————————————————–
==> signal de vente
>HaC doit clôturer au-dessus K_Up_Out
> puis aux prochaines bougies , HaC doit clôturer en-dessous de K_Up_In avec vol > avgVol
——————————————————————————–03/25/2024 at 12:45 PM #230403Hola Aquí a l’indicateur. Il peut y avoir un maximum de 5 voiles pour produire la croix à l'intérieur ou à la base du KUpout ou du KDout. Sólo tienes que modificarlo a tu gusto.
12345678910111213141516171819202122232425262728293031323334353637383940414243//-------Heikin Ashi-----------------once haopen=openhaclose=(open+close+high+low)/4if barindex> 0 thenhaopen=(haopen+haclose[1])/2endifhalow=min(low,min(haclose,haopen))hahigh=max(high,max(haclose,haopen))if haclose > haopen thenr=0g=250elser=250g=0endif//----------------------------------ema = average[50,1](haclose)//----------------------------------vol = volumeavgvol = average[50](vol)//----------------------------------atr = averagetruerange[50]//------Bands-----------------------kDnout = ema - 3.5*atrKUpout = ema + 3.5*atrKDnIn = ema - 2.5*atrKUpIn = ema + 2.5*atr//-----Long condition---------------//n = barssince(haclose crosses under KDnOut)longcondition = haclose crosses over KDnIn and n <= 5 and vol > avgvol//-----Short condition--------------//m = barssince(haclose crosses over KUpOut)shortconidition = haclose crosses under KUpIn and m <=5 and vol > avgvolif longcondition thendrawarrowup(barindex,halow-0.25*atr)coloured("green")elsif shortconidition thendrawarrowdown(barindex,hahigh+0.25*atr)coloured("red")endifDRAWCANDLE(haopen, hahigh, halow, haclose)coloured(r,g,0,70)return ema coloured("green")style(dottedline,2),kDnout coloured("red"),KDnIn coloured("purple"),kUpout coloured("red"),KUpIn coloured("purple")03/25/2024 at 12:46 PM #230405Le screener sera celui-ci :
123456789101112131415161718192021222324252627282930313233//once haopen=openhaclose=(open+close+high+low)/4//if barindex> 0 then//haopen=(haopen+haclose[1])/2//endif//halow=min(low,min(haclose,haopen))//hahigh=max(high,max(haclose,haopen))ema = average[50,1](haclose)vol = volumeavgvol = average[50](vol)atr = averagetruerange[50]kDnout = ema - 3.5*atrKUpout = ema + 3.5*atrKDnIn = ema - 2.5*atrKUpIn = ema + 2.5*atr//-----long condition---------------//n = barssince(haclose crosses under KDnOut)m = barssince(haclose crosses over KUpOut)if haclose crosses over KDnIn and n <= 5 and vol > avgvol thenres=1elsif haclose crosses under KUpIn and m <=5 and vol > avgvol thenres=-1elseres=0endifscreener[res=1 or res=-1]03/25/2024 at 1:25 PM #230410 -
AuthorPosts
Find exclusive trading pro-tools on