|
@@ -66,42 +66,42 @@ VAR5 = ema(low <= VAR4 ? VAR3 : 0, 3);
|
|
|
|
|
|
// 主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),LINETHICK0,COLORRED;
|
|
|
主力进场 = VAR5 > VAR5[1] ? VAR5 : 0;
|
|
|
-// plot(主力进场, title='主力进场', color='red');
|
|
|
+plot(主力进场, title='主力进场', color='red');
|
|
|
|
|
|
show_var5 = VAR5 > VAR5[1];
|
|
|
// STICKLINE(VAR5>REF(VAR5,1),0,VAR5,6,0),COLORRED;
|
|
|
-plotColumn(VAR5, title='柱状图', color='red', fill=true, display=show_var5);
|
|
|
+plotColumn(VAR5, title='VAR5', color='red', fill=true, display=show_var5);
|
|
|
// STICKLINE(VAR5>REF(VAR5,1),0,VAR5,5,0 ),COLOR000055;
|
|
|
-plotColumn(VAR5, title='柱状图', color='000055', fill=true, display=show_var5);
|
|
|
+plotColumn(VAR5, title='VAR5', color='000055', fill=true, display=show_var5);
|
|
|
// STICKLINE(VAR5>REF(VAR5,1),0,VAR5,4,0 ),COLOR000077;
|
|
|
-plotColumn(VAR5, title='柱状图', color='000077', fill=true, display=show_var5);
|
|
|
+plotColumn(VAR5, title='VAR5', color='000077', fill=true, display=show_var5);
|
|
|
// STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3.1,0 ),COLOR000099;
|
|
|
-plotColumn(VAR5, title='柱状图', color='000099', fill=true, display=show_var5);
|
|
|
+plotColumn(VAR5, title='VAR5', color='000099', fill=true, display=show_var5);
|
|
|
// STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.5,0 ),COLOR0000BB;
|
|
|
-plotColumn(VAR5, title='柱状图', color='0000BB', fill=true, display=show_var5);
|
|
|
+plotColumn(VAR5, title='VAR5', color='0000BB', fill=true, display=show_var5);
|
|
|
// STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000DD;
|
|
|
-plotColumn(VAR5, title='柱状图', color='0000DD', fill=true, display=show_var5);
|
|
|
+plotColumn(VAR5, title='VAR5', color='0000DD', fill=true, display=show_var5);
|
|
|
// STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1,0 ),COLOR0000FF;
|
|
|
-plotColumn(VAR5, title='柱状图', color='0000FF', fill=true, display=show_var5);
|
|
|
+plotColumn(VAR5, title='VAR5', color='0000FF', fill=true, display=show_var5);
|
|
|
|
|
|
// 洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),LINETHICK0,COLORGREEN;
|
|
|
洗盘 = VAR5 < VAR5[1] ? VAR5 : 0;
|
|
|
plot(洗盘, title='洗盘', color='green');
|
|
|
|
|
|
// STICKLINE(VAR5<REF(VAR5,1),0,VAR5,6,0),COLORGREEN;
|
|
|
-plotColumn(VAR5, title='柱状图', color='green', fill=true, display=!show_var5);
|
|
|
+plotColumn(VAR5, title='VAR5', color='green', fill=true, display=!show_var5);
|
|
|
// STICKLINE(VAR5<REF(VAR5,1),0,VAR5,5,0),COLOR005500;
|
|
|
-plotColumn(VAR5, title='柱状图', color='005500', fill=true, display=!show_var5);
|
|
|
+plotColumn(VAR5, title='VAR5', color='005500', fill=true, display=!show_var5);
|
|
|
// STICKLINE(VAR5<REF(VAR5,1),0,VAR5,4,0),COLOR007700;
|
|
|
-plotColumn(VAR5, title='柱状图', color='007700', fill=true, display=!show_var5);
|
|
|
+plotColumn(VAR5, title='VAR5', color='007700', fill=true, display=!show_var5);
|
|
|
// STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR009900;
|
|
|
-plotColumn(VAR5, title='柱状图', color='009900', fill=true, display=!show_var5);
|
|
|
+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='柱状图', color='00BB00', fill=true, display=!show_var5);
|
|
|
+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='柱状图', color='00DD00', fill=true, display=!show_var5);
|
|
|
+plotColumn(VAR5, title='VAR5', color='00DD00', fill=true, display=!show_var5);
|
|
|
// STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1,0),COLOR00FF00;
|
|
|
-plotColumn(VAR5, title='柱状图', color='00FF00', fill=true, display=!show_var5);
|
|
|
+plotColumn(VAR5, title='VAR5', color='00FF00', 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);
|
|
@@ -121,38 +121,38 @@ plot(冲顶, title = '冲顶', color='FF00FF');
|
|
|
|
|
|
show_var15 = VAR15 > VAR15[1];
|
|
|
// STICKLINE(VAR15>REF(VAR15,1),0,VAR15,6,0),COLORFF00FF;
|
|
|
-plotColumn(VAR15, title='柱状图', color='FF00FF', fill=true, display=show_var15);
|
|
|
+plotColumn(VAR15, title='VAR15', color='FF00FF', fill=true, display=show_var15);
|
|
|
// STICKLINE(VAR15>REF(VAR15,1),0,VAR15,5,0 ),COLOR550055;
|
|
|
-plotColumn(VAR15, title='柱状图', color='550055', fill=true, display=show_var15);
|
|
|
+plotColumn(VAR15, title='VAR15', color='550055', fill=true, display=show_var15);
|
|
|
// STICKLINE(VAR15>REF(VAR15,1),0,VAR15,4,0 ),COLOR770077;
|
|
|
-plotColumn(VAR15, title='柱状图', color='770077', fill=true, display=show_var15);
|
|
|
+plotColumn(VAR15, title='VAR15', color='770077', fill=true, display=show_var15);
|
|
|
// STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0 ),COLOR990099;
|
|
|
-plotColumn(VAR15, title='柱状图', color='990099', fill=true, display=show_var15);
|
|
|
+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='柱状图', color='BB00BB', fill=true, display=show_var15);
|
|
|
+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='柱状图', color='DD00DD', fill=true, display=show_var15);
|
|
|
+plotColumn(VAR15, title='VAR15', color='DD00DD', fill=true, display=show_var15);
|
|
|
// STICKLINE(VAR15>REF(VAR15,1),0,VAR15,1,0 ),COLORFF00FF;
|
|
|
-plotColumn(VAR15, title='柱状图', color='FF00FF', fill=true, display=show_var15);
|
|
|
+plotColumn(VAR15, title='VAR15', color='FF00FF', 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='柱状图', color='yellow', fill=true, display=!show_var15);
|
|
|
+plotColumn(VAR15, title='VAR15', color='yellow', fill=true, display=!show_var15);
|
|
|
// STICKLINE(VAR15<REF(VAR15,1),0,VAR15,5,0),COLOR005555;
|
|
|
-plotColumn(VAR15, title='柱状图', color='005555', fill=true, display=!show_var15);
|
|
|
+plotColumn(VAR15, title='VAR15', color='005555', fill=true, display=!show_var15);
|
|
|
// STICKLINE(VAR15<REF(VAR15,1),0,VAR15,4,0),COLOR007777;
|
|
|
-plotColumn(VAR15, title='柱状图', color='007777', fill=true, display=!show_var15);
|
|
|
+plotColumn(VAR15, title='VAR15', color='007777', fill=true, display=!show_var15);
|
|
|
// STICKLINE(VAR15<REF(VAR5,1),0,VAR15,3,0),COLOR009999;
|
|
|
-plotColumn(VAR15, title='柱状图', color='009999', fill=true, display=!show_var15);
|
|
|
+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='柱状图', color='00BBBB', fill=true, display=!show_var15);
|
|
|
+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='柱状图', color='00DDDD', fill=true, display=!show_var15);
|
|
|
+plotColumn(VAR15, title='VAR15', color='00DDDD', fill=true, display=!show_var15);
|
|
|
// STICKLINE(VAR15<REF(VAR15,1),0,VAR15,1,0),COLOR00FFFF;
|
|
|
-plotColumn(VAR15, title='柱状图', color='00FFFF', fill=true, display=!show_var15);
|
|
|
+plotColumn(VAR15, title='VAR15', color='00FFFF', 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;
|