3D Candlesticks TOPIC
Forums › ProRealTime English forum › ProBuilder support › 3D Candlesticks TOPIC
- This topic has 61 replies, 10 voices, and was last updated 4 years ago by Bard.
-
-
07/08/2018 at 8:18 PM #75606
Hello
this is Topic to ask more informations about the 3D CANDLE indicator
This simple indicator, allows to interpret the values of the oscillator selected through the colors on the candlesticks and directly on the price chart.
I have proposed the classical oscillators with canonical colors.You can also translate the 3d candle under the original to maintain both.
You can choose the following oscillators:
- COMMODITY CHANNEL INDEX
- RSI
- STOCHASTIC
- CYCLE
- DIRECTIONAL INDEX
Settings are modified at the top of the code or directly into the indicator’s settings window if you choose to download and importe the file below.
3D CANDLESTICKS123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172//05.07.2018//ALE@PROREALCODE//https://www.automatictrading.it/////////////////////////////////////////////////////////////TranslateCandle =1 // To maintain both the candles on the graph without overlapTransRange =0.01 // To choose distance of the 3D caNdleTransparency =4////////////////////////////////////////////////////////////ONCE CandleCci =1 // CANDLE + COMMODITY CHANNEL INDEX COLOURONCE CandleRsi =0 // CANDLE + RSI COLOURONCE CandleStochastic =0 // CANDLE + STOCASTIC COLOURONCE CandleCycle =0 // CANDLE + CYCLE COLOURONCE CandleDI =0 // CANDLE + DIRECTIONAL INDEX COLOUR//////////////////////////////V//////////////////////////////ONCE CciPeriod =20ONCE RsiPeriod =14ONCE N =14ONCE K =3ONCE DiPeriod =14//////////////////////////////V//////////////////////////////If 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)endifendifReturn07/09/2018 at 11:06 AM #7563007/09/2018 at 12:25 PM #7564607/09/2018 at 12:27 PM #7564707/09/2018 at 12:30 PM #7564807/09/2018 at 12:59 PM #75655Hola Alessandro
Can we have this same code from Nicolas’s code in smoothed heikin Ashi?
thanks you
HEIKIN ASHI SMOOTHED PRC 22.10.201612345678910111213141516171819HEIKIN ASHI SMOOTHED PRC 22.10.2016// SmoothPeriod=2xClose = (open+high+low+close)/4IF BarIndex=0 THENxOpen = openxHigh = highxLow = lowELSExOpen = (xOpen[1] + xClose[1])/2xHigh = Max(Max(high, xOpen), xClose)xLow = Min(Min(low, xOpen), xClose)ENDIFAvOpen=Average[SmoothPeriod](xOpen)AvHigh=Average[SmoothPeriod](xHigh)AvLow=Average[SmoothPeriod](xLow)Avclose=Average[SmoothPeriod](xClose)DRAWCANDLE(AvOpen, AvHigh, AvLow, AvClose)Return07/09/2018 at 1:27 PM #75660Hello
is it ok?
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586TranslateCandle =0 // To maintain both the candles on the graph without overlapTransRange =0.01 // To choose distance of the 3D caNdleTransparency =4//////////////////////////////////////////////////////////////ONCE CandleCci =0 // CANDLE + COMMODITY CHANNEL INDEX COLOURONCE CandleRsi =0 // CANDLE + RSI COLOURONCE CandleStochastic =0 // CANDLE + STOCASTIC COLOURONCE CandleCycle =0 // CANDLE + CYCLE COLOURONCE CandleDI =0 // CANDLE + DIRECTIONAL INDEX COLOUR////////////////////////////////V//////////////////////////////ONCE CciPeriod =20ONCE RsiPeriod =14ONCE N =14ONCE K =3ONCE DiPeriod =14//HEIKIN ASHI SMOOTHED PRC 22.10.2016//SmoothPeriod=2xClose = (open+high+low+close)/4IF BarIndex=0 THENxOpen = openxHigh = highxLow = lowELSExOpen = (xOpen[1] + xClose[1])/2xHigh = Max(Max(high, xOpen), xClose)xLow = Min(Min(low, xOpen), xClose)ENDIFAvOpen=Average[SmoothPeriod](xOpen)AvHigh=Average[SmoothPeriod](xHigh)AvLow=Average[SmoothPeriod](xLow)Avclose=Average[SmoothPeriod](xClose)If CandleCci then // CANDLE + COMMODITY CHANNEL INDEX COLOURMyCci = Cci[max(1,CciPeriod)](customclose)R = (200-MyCci)G =(200+MyCci)if TranslateCandle thenDRAWCANDLE(AvOpen-(AvOpen*TransRange*pointsize), AvHigh-(AvHigh*TransRange*pointsize), AvLow-(AvLow*TransRange*pointsize), AvClose-(AvClose*TransRange*pointsize)) Coloured (R,G,0,transparency*50)elseDRAWCANDLE(AvOpen, AvHigh, AvLow, AvClose) 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(AvOpen-(AvOpen*TransRange*pointsize), AvHigh-(AvHigh*TransRange*pointsize), AvLow-(AvLow*TransRange*pointsize), AvClose-(AvClose*TransRange*pointsize)) Coloured (R,G,0,transparency*50)elseDRAWCANDLE(AvOpen, AvHigh, AvLow, AvClose) 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(AvOpen-(AvOpen*TransRange*pointsize), AvHigh-(AvHigh*TransRange*pointsize), AvLow-(AvLow*TransRange*pointsize), AvClose-(AvClose*TransRange*pointsize)) Coloured (R,G,0,transparency*50)elseDRAWCANDLE(AvOpen, AvHigh, AvLow, AvClose) 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(AvOpen-(AvOpen*TransRange*pointsize), AvHigh-(AvHigh*TransRange*pointsize), AvLow-(AvLow*TransRange*pointsize), AvClose-(AvClose*TransRange*pointsize)) Coloured (R,G,0,transparency*50)elseDRAWCANDLE(AvOpen, AvHigh, AvLow, AvClose) 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(AvOpen-(AvOpen*TransRange*pointsize), AvHigh-(AvHigh*TransRange*pointsize), AvLow-(AvLow*TransRange*pointsize), AvClose-(AvClose*TransRange*pointsize)) Coloured (R,G,0,transparency*50)elseDRAWCANDLE(AvOpen, AvHigh, AvLow, AvClose) Coloured (R,G,0,transparency*50)endifendifReturn07/09/2018 at 5:16 PM #7567107/09/2018 at 5:35 PM #7567207/09/2018 at 5:52 PM #7567307/09/2018 at 6:10 PM #7567507/10/2018 at 4:56 AM #7568907/10/2018 at 12:47 PM #7572007/10/2018 at 1:18 PM #7572607/10/2018 at 1:42 PM #75729I live in Spain so I am looking also the Spanish market, Sacyr (formerly Sacyr Vallehermoso) is a builder of the country, he intervenes on big building sites like Bouygues in France for example.
They work on the Panama Canal development among other things. The company is politically involved (as too often for builders!) And is in trouble with the courts in
this moment.
all this creates volatility that can be exploited on the stock market
-
AuthorPosts
Find exclusive trading pro-tools on