Bonjour, pour des raisons personnelles j’ai reconstruit Ichimoku.
Pas bien difficile.
Mais je voudrais coloriser le nuage, et là,c’est plus dur.
Les Senkou A et B n’apparaissent pas dans la configuration du fait de leur construction.
Y a-t il un solution ?
Merci
 
 
		
		
			
			
			
			
				
					
				
					1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 
				 
						// Les lignes 
 
Tenkan  =   (Highest [ 9 ] (High )  +   Lowest [ 9 ] (Low ))/ 2 
Kijun  =   (Highest [ 26 ] (High )  +   Lowest [ 26 ] (Low ))/ 2 
 
If   BarIndex   >   27   then 
DrawSegment (BarIndex   -   26 ,Close ,BarIndex   -   27 ,Close [ 1 ] )  coloured (0 ,0 ,0 )
endif 
 
SenkouA  =   (Tenkan  +   Kijun)/ 2 
If   BarIndex   >   1   then 
DrawSegment (BarIndex   +   26 ,SenkouA,BarIndex   +   25 ,SenkouA[ 1 ] )  coloured (200 ,100 ,50 )
endif 
 
SenkouB  =   (Highest [ 52 ] (High )  +   Lowest [ 52 ] (Low ))/ 2 
If   BarIndex   >   1   then 
DrawSegment (BarIndex   +   26 ,SenkouB,BarIndex   +   25 ,SenkouB[ 1 ] )  coloured (200 ,100 ,50 )
endif 
 
 
return   Tenkan  coloured (200 ,0 ,0 )  style (line ,1 )  as   "Tenkan" ,Kijun  coloured (0 ,0 ,180 )  style (line ,1 )  as   "Kijun"