MOYENNE MULTICOLORE
Forums › ProRealTime forum Français › Support ProBuilder › MOYENNE MULTICOLORE
- This topic has 5 replies, 2 voices, and was last updated 6 years ago by supertiti.
Tagged: coloured, drawcandle
-
-
10/18/2018 at 2:42 PM #831063D CANDLE PRC1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071// 3D CANDLE 05.07.2018//ALE@PROREALCODE//////////////////////////////////////////////////////////////TranslateCandle =0 // To maintain both the candles on the graph without overlap//TransRange =0,01 // To choose distance of the 3D caNdle//Transparency =4//////////////////////////////////////////////////////////////ONCE CandleCci =0 // CANDLE + COMMODITY CHANNEL INDEX COLOUR//ONCE CandleRsi =0 // CANDLE + RSI COLOUR//ONCE CandleStochastic =0 // CANDLE + STOCASTIC COLOUR//ONCE CandleCycle =0 // CANDLE + CYCLE COLOUR//ONCE CandleDI =0 // CANDLE + DIRECTIONAL INDEX COLOUR//////////////////////////////V////////////////////////////////ONCE CciPeriod =20//ONCE RsiPeriod =14//ONCE N =14//ONCE K =3//ONCE DiPeriod =14If CandleCci then // CANDLE + COMMODITY CHANNEL INDEX COLOURMyCci = Cci[max(1,CciPeriod)](customclose)R = (200-MyCci)G =(200+MyCci)if TranslateCandle thenDRAWCANDLE(open-(open*TransRange*pointsize), high-(high*TransRange*pointsize), low-(low*TransRange*pointsize), close-(close*TransRange*pointsize)) Coloured (R,G,0,transparency*50)elseDRAWCANDLE(open, high, low, close) Coloured (R,G,0,transparency*50)endifElsif CandleRsi then // CANDLE + RSI COLOURMyRsi = RSI[max(1,RsiPeriod)](customclose)R =50+(200-(MyRsi-50)*12)G =50+(200+(MyRsi-50)*12)if TranslateCandle thenDRAWCANDLE(open-(open*TransRange*pointsize), high-(high*TransRange*pointsize), low-(low*TransRange*pointsize), close-(close*TransRange*pointsize)) Coloured (R,G,0,transparency*50)elseDRAWCANDLE(open, high, low, close) Coloured (R,G,0,transparency*50)endifElsif CandleStochastic then // CANDLE + STOCHASTIC COLOURMyStoch = Stochastic[max(1,N),max(1,K)](customclose)R =50+(200-(MyStoch-50)*6)G =50+(200+(MyStoch-50)*6)if TranslateCandle thenDRAWCANDLE(open-(open*TransRange*pointsize), high-(high*TransRange*pointsize), low-(low*TransRange*pointsize), close-(close*TransRange*pointsize)) Coloured (R,G,0,transparency*50)elseDRAWCANDLE(open, high, low, close) Coloured (R,G,0,transparency*50)endifElsif CandleCycle then // CANDLE + CYCLE COLOURMyCycle = Cycle(customclose)R = (200-MyCycle*10)G =(200+MyCycle*10)if TranslateCandle thenDRAWCANDLE(open-(open*TransRange*pointsize), high-(high*TransRange*pointsize), low-(low*TransRange*pointsize), close-(close*TransRange*pointsize)) Coloured (R,G,0,transparency*50)elseDRAWCANDLE(open, high, low, close) Coloured (R,G,0,transparency*50)endifElsif CandleDI then // CANDLE + DIRECTIONAL INDEXMyDi = DI[max(1,DiPeriod)](customclose)R = 50+(200-MyDi*10)G =50+(200+MyDi*10)if TranslateCandle thenDRAWCANDLE(open-(open*TransRange*pointsize), high-(high*TransRange*pointsize), low-(low*TransRange*pointsize), close-(close*TransRange*pointsize)) Coloured (R,G,0,(transparency)*50)elseDRAWCANDLE(open, high, low, close)Coloured (R,G,0,transparency*50)endifendifReturn
Bonjour à tous , bonjour Nicolas
Serait-il possible de créer une moyenne multicolore en se basant sur le code proposé par ALE , on pourrait prendre dans un premier temps une moyenne simple par exemple.
bonne journée, bons trades.
10/18/2018 at 3:00 PM #8311310/18/2018 at 3:10 PM #8311610/19/2018 at 7:45 AM #83155ok, bonne idée, je viens de poster l’indicateur dans notre bibliothèque d’indicateurs pour ProRealTime: Moving average colorized by oscillator
10/19/2018 at 2:18 PM #83180Bonjour Nicolas,
Une fois de plus au top ! c’est tout à fait ce que je souhaitais en espérant quelle profite au plus grand nombre.
A noter que la zéro retard et la Hull ne fonctionne pas chez moi, mais j’ai toujours eu ce problème, d’autres devraient l’avoir également.
J’ai interprété cette moyenne à ma sauce avec une moyenne perso qui me convient vraiment bien , image jointe.
Bon week end et merci.
10/19/2018 at 2:22 PM #83182 -
AuthorPosts
Find exclusive trading pro-tools on