Histogrammes down GREEDZONE
Forums › ProRealTime forum Français › Support ProBuilder › Histogrammes down GREEDZONE
- This topic has 8 replies, 2 voices, and was last updated 2 years ago by
supertiti.
-
-
04/16/2022 at 3:44 PM #191821
Bonjour à tous
En reprenant le code de Swingfortune serait-il possible d’avoir l’inverse, c’est à dire des chandeliers qui annoncent un retournement à la baisse
merci pour votre collaboration
bon week end de Pâques
FEARZONE1234567891011121314151617181920212223// FEARZONEperiod = 30periodavstd = 100//First conditionFZ1 = (highest[period](totalprice) - totalprice)/highest[period](totalprice)av1=average[periodAvStd](FZ1)stdv1= STD[periodAvStd](FZ1)FZ1Limit= av1+stdv1// Second conditionFZ2 = average[period](totalprice)av2=average[periodAvStd](FZ2)stdv= STD[periodAvStd](FZ2)FZ2Limit= av2-stdv//In Fearzone?if FZ1 > FZ1Limit and FZ2 < FZ2Limit Thendrawcandle(low-range,low-range,low-2*range,low-2*range) coloured(255,255,255)endifreturn04/19/2022 at 3:33 PM #191888La modification du code ci-dessous doit répondre à cette demande. Le “fearzone” trouve également les zones d’excès haussier et marque ainsi un probable retour à la baisse.
1234567891011121314151617181920212223242526272829303132// FEARZONEperiod = 30periodavstd = 100//First conditionFZ1 = (highest[period](totalprice) - totalprice)/highest[period](totalprice)av1=average[periodAvStd](FZ1)stdv1= STD[periodAvStd](FZ1)FZ1Limit= av1+stdv1FZ0 = (totalprice - lowest[period](totalprice))/lowest[period](totalprice)av0=average[periodAvStd](FZ0)stdv0= STD[periodAvStd](FZ0)FZ0Limit= av0+stdv0// Second conditionFZ2 = average[period](totalprice)av2=average[periodAvStd](FZ2)stdv= STD[periodAvStd](FZ2)FZ2Limit= av2-stdv//In Fearzone?if FZ1 > FZ1Limit and FZ2 < FZ2Limit Thendrawcandle(low-range,low-range,low-2*range,low-2*range) coloured(255,255,255)endifif FZ0>fz0LIMIT AND FZ2 > FZ2Limit Thendrawcandle(HIGH+range,HIGH+range,HIGH+2*range,HIGH+2*range) coloured(255,255,255)endifreturn //fz2,fz2limit04/19/2022 at 5:18 PM #191913Bonsoir à tous,
Un grand merci Nicolas pour ta bienveillance , j’installe ce code dans l’immédiat, cela me fait mes Pâques !
Bons trades
Je joins une photo de mon village Andalou et de ses traditions
1 user thanked author for this post.
04/20/2022 at 10:56 AM #19194504/20/2022 at 2:44 PM #191965¡ J’y suis arrivé tout seul comme un grand !
12345678910111213141516171819202122232425262728293031323334353637// HISTO FEARZONE UP and DOWN by Nicolas 19 avril 2022period = 30periodavstd = 100//First conditionFZ1 = (highest[period](totalprice) - totalprice)/highest[period](totalprice)av1=average[periodAvStd](FZ1)stdv1= STD[periodAvStd](FZ1)FZ1Limit= av1+stdv1FZ0 = (totalprice - lowest[period](totalprice))/lowest[period](totalprice)av0=average[periodAvStd](FZ0)stdv0= STD[periodAvStd](FZ0)FZ0Limit= av0+stdv0// Second conditionFZ2 = average[period](totalprice)av2=average[periodAvStd](FZ2)stdv= STD[periodAvStd](FZ2)FZ2Limit= av2-stdv////////////////////////////////////////////////////////In Fearzone?if FZ1 > FZ1Limit and FZ2 < FZ2Limit Then//drawcandle(low-range,low-range,low-2*range,low-2*range) coloured (0,255,8)//Vert clairhistoUP = 0.7elsehistoUP = 0endifif FZ0>fz0LIMIT AND FZ2 > FZ2Limit Then//drawcandle(HIGH+range,HIGH+range,HIGH+2*range,HIGH+2*range) coloured(255,0,247)// RosehistoDW = 0.7elsehistoDW = 0endifreturn histoUP coloured (0,255,8) , histoDW coloured (255,0,247) //fz2 ,fz2limit04/20/2022 at 2:46 PM #19196604/20/2022 at 5:38 PM #19198304/21/2022 at 10:37 AM #192013Non, mais tu pourrais les remplacer par des rectangles, mais le soucis c’est que pour tracer un rectangle il faut à minima 3 périodes, donc ça décalerait l’information, vraiment pas simple/rapide à coder en plus pour juste un effet visuel 🙂
04/21/2022 at 11:55 AM #192019 -
AuthorPosts
Find exclusive trading pro-tools on