TradingView – Indicator Ichimoku Line TKSSB
Dans ce tutoriel vidéo, je vais mon expliquer comment ajouter cet indicateur à votre plateforme TradingView. Nous verrons aussi, comment modifier les couleurs et l’apparence des différentes droites qui composent cet outil.
Mémo :
L’épaisseur maximum des droites est de 5
Le type de droite peut-être : style_solid, style_dashed & style_dotted
Les codes couleurs : https://kodify.net/tradingview/colours/basic-colours/
Tutoriel vidéo
Code Indicateur
//--------------------------------------------------------------------------------------- // Line Indicator TKSSB // Created by Guillaume POIS by ChartsInside.fr // Indicates the candlesticks calculations of Tenkan, Kijun & SSB // Discover my Ichimoku and other market scanners for // ProRealTime, MetaTrader4, MetaTrader5 & TradingStation on ChartsInside.fr // All rights reserved - Copyright 2020 ChartsInside // // Contact : guillaume@chartsinside.fr // WebSite : https://www.chartsinside.fr/ // FaceBook : https://www.facebook.com/chartsinside/ // Twitter : https://twitter.com/ChartsInside //--------------------------------------------------------------------------------------- //@version=4 study("Indicator Ichimoku Line TKSSB", shorttitle = "Indicator Ichimoku Line TKSSB", overlay = true) //-- Custom Indicator ------------------------------------------------------------------- ColorTenkan = color.navy // Color Line Tenkan // Other Color : https://kodify.net/tradingview/colours/basic-colours/ ColorKijun = color.orange // Color Line Kijun ColorSSB = color.teal // Color Line SSB SizeLineTenkan = 1 // Thickness Line Tenkan // Size Max 5 SizeLineKijun = 3 // Thickness Line Kijun SizeLineSSB = 5 // Thickness Line SSB StyleLineTenkan = line.style_solid // Style Line Tenkan // Another type => dotted, dashed StyleLineKijun = line.style_solid // Style Line Kijun StyleLineSSB = line.style_solid // Style line SSB Candle = 1 //-- Don't touch ------------------------------------------------------------------------ TenkanLine=line.new(bar_index[8+Candle],0,bar_index[8+Candle],999999,width=SizeLineTenkan,color=ColorTenkan) KijunLine=line.new(bar_index[25+Candle],0,bar_index[25+Candle],999999,width=SizeLineKijun,color=ColorKijun) SSBLine=line.new(bar_index[51+Candle],0, bar_index[51+Candle],999999,width=SizeLineSSB,color=ColorSSB) line.set_style(id=TenkanLine,style=StyleLineTenkan) line.set_style(id=KijunLine,style=StyleLineKijun) line.set_style(id=SSBLine,style=StyleLineSSB) line.delete(TenkanLine[1]) line.delete(KijunLine[1]) line.delete(SSBLine[1])