Browse Source

change color

simon 4 months ago
parent
commit
e7d09f1c98
1 changed files with 3 additions and 39 deletions
  1. 3 39
      紫开多红.AICOIN

+ 3 - 39
紫开多红.AICOIN

@@ -88,20 +88,8 @@ plotColumn(VAR5, title='VAR5', color='0000FF', fill=true, display=show_var5);
 洗盘 = VAR5 < VAR5[1] ? VAR5 : 0;
 plot(洗盘, title='洗盘', color='green');
 
-// STICKLINE(VAR5<REF(VAR5,1),0,VAR5,6,0),COLORGREEN;
-plotColumn(VAR5, title='VAR5', color='green', fill=true, display=!show_var5);
-// STICKLINE(VAR5<REF(VAR5,1),0,VAR5,5,0),COLOR005500;
-plotColumn(VAR5, title='VAR5', color='005500', fill=true, display=!show_var5);
-// STICKLINE(VAR5<REF(VAR5,1),0,VAR5,4,0),COLOR007700;
-plotColumn(VAR5, title='VAR5', color='007700', fill=true, display=!show_var5);
-// STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR009900;
-plotColumn(VAR5, title='VAR5', color='009900', fill=true, display=!show_var5);
-// STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.5,0),COLOR00BB00;
-plotColumn(VAR5, title='VAR5', color='00BB00', fill=true, display=!show_var5);
-// STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.5,0),COLOR00DD00;
-plotColumn(VAR5, title='VAR5', color='00DD00', fill=true, display=!show_var5);
 // STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1,0),COLOR00FF00;
-plotColumn(VAR5, title='VAR5', color='00FF00', fill=true, display=!show_var5);
+plotColumn(VAR5, title='VAR5', color='red', fill=true, display=!show_var5);
 
 // VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);
 VAR12 = smma(abs(VAR1 - high), 13, 1) / smma(max(VAR1 - high, 0), 10, 1);
@@ -120,39 +108,15 @@ VAR15 = ema(high >= VAR14 ? VAR13 : 0, 3);
 plot(冲顶, title = '冲顶', color='FF00FF');
 
 show_var15 = VAR15 > VAR15[1];
-// STICKLINE(VAR15>REF(VAR15,1),0,VAR15,6,0),COLORFF00FF;
-plotColumn(VAR15, title='VAR15', color='FF00FF', fill=true, display=show_var15);
-// STICKLINE(VAR15>REF(VAR15,1),0,VAR15,5,0 ),COLOR550055;
-plotColumn(VAR15, title='VAR15', color='550055', fill=true, display=show_var15);
-// STICKLINE(VAR15>REF(VAR15,1),0,VAR15,4,0 ),COLOR770077;
-plotColumn(VAR15, title='VAR15', color='770077', fill=true, display=show_var15);
-// STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0 ),COLOR990099;
-plotColumn(VAR15, title='VAR15', color='990099', fill=true, display=show_var15);
-// STICKLINE(VAR15>REF(VAR15,1),0,VAR15,2.5,0 ),COLORBB00BB;
-plotColumn(VAR15, title='VAR15', color='BB00BB', fill=true, display=show_var15);
-// STICKLINE(VAR15>REF(VAR15,1),0,VAR15,1.5,0 ),COLORDD00DD;
-plotColumn(VAR15, title='VAR15', color='DD00DD', fill=true, display=show_var15);
 // STICKLINE(VAR15>REF(VAR15,1),0,VAR15,1,0 ),COLORFF00FF;
-plotColumn(VAR15, title='VAR15', color='FF00FF', fill=true, display=show_var15);
+plotColumn(VAR15, title='VAR15', color='red', fill=true, display=show_var15);
 
 // 主力出场:IF(VAR15<REF(VAR15,1),VAR15,0),LINETHICK0,COLORYELLOW;
 主力出场 = VAR15 < VAR15[1] ? VAR15 : 0;
 plot(主力出场, title = '主力出场', color='yellow');
 
-// STICKLINE(VAR15<REF(VAR15,1),0,VAR15,6,0 ),COLORYELLOW;
-plotColumn(VAR15, title='VAR15', color='yellow', fill=true, display=!show_var15);
-// STICKLINE(VAR15<REF(VAR15,1),0,VAR15,5,0),COLOR005555;
-plotColumn(VAR15, title='VAR15', color='005555', fill=true, display=!show_var15);
-// STICKLINE(VAR15<REF(VAR15,1),0,VAR15,4,0),COLOR007777;
-plotColumn(VAR15, title='VAR15', color='007777', fill=true, display=!show_var15);
-// STICKLINE(VAR15<REF(VAR5,1),0,VAR15,3,0),COLOR009999;
-plotColumn(VAR15, title='VAR15', color='009999', fill=true, display=!show_var15);
-// STICKLINE(VAR15<REF(VAR15,1),0,VAR15,2.5,0),COLOR00BBBB;
-plotColumn(VAR15, title='VAR15', color='00BBBB', fill=true, display=!show_var15);
-// STICKLINE(VAR15<REF(VAR15,1),0,VAR15,1.5,0),COLOR00DDDD;
-plotColumn(VAR15, title='VAR15', color='00DDDD', fill=true, display=!show_var15);
 // STICKLINE(VAR15<REF(VAR15,1),0,VAR15,1,0),COLOR00FFFF;
-plotColumn(VAR15, title='VAR15', color='00FFFF', fill=true, display=!show_var15);
+plotColumn(VAR15, title='VAR15', color='green', fill=true, display=!show_var15);
 
 // X_1:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20;
 X_1 =(close - ma(close, 13)) / ma(close, 13) * 20;