{公式名称: 玲珑股票分时A
公式描述:
参数数量: 1
参数1: N, 最小: 1, 最大: 50, 缺省: 20
公式类型: 技术指标公式-神系
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:
请设置计算参数:
N: Param#0 (1.00--50.00)
用法注释:无
公式源码:}
X_1:=ZSTJJ;
J3:SUM(CLOSE*VOL,240)/SUM(VOL,240),COLORYELLOW,LINETHICK2;
X_2:=SUM(CLOSE*VOL,0)/SUM(VOL,0);
X_3:=CLOSE>REF(CLOSE,1) AND CLOSE/X_1>1+N/1000;
X_4:=CLOSE<REF(CLOSE,1) AND CLOSE/X_1<1-N/1000;
X_5:=CROSS(SUM(X_3,0),0.5);
X_6:=CROSS(SUM(X_4,0),0.5);
X_7:=SUM(X_5,0)*CROSS(COUNT(CLOSE<REF(CLOSE,1),BARSLAST(X_5)),0.5);
X_8:=SUM(X_6,0)*CROSS(COUNT(CLOSE>REF(CLOSE,1),BARSLAST(X_6)),0.5);
X1:CONST(SUM(IF(X_7,REF(CLOSE,1),DRAWNULL),0)),DOTLINE,COLORYELLOW;
Z1:CONST(SUM(IF(X_8,REF(CLOSE,1),DRAWNULL),0)),DOTLINE,COLORGREEN;
X_9:=CROSS(SUM(X_3 AND CLOSE>X1*1.02,0),0.5);
X_10:=CROSS(SUM(X_4 AND CLOSE<Z1*0.98,0),0.5);
X_11:=SUM(X_9,0)*CROSS(COUNT(CLOSE<REF(CLOSE,1),BARSLAST(X_9)),0.5);
X_12:=SUM(X_10,0)*CROSS(COUNT(CLOSE>REF(CLOSE,1),BARSLAST(X_10)),0.5);
X2:CONST(SUM(IF(X_11,REF(CLOSE,1),DRAWNULL),0)),COLORWHITE;
Z2:CONST(SUM(IF(X_12,REF(CLOSE,1),DRAWNULL),0)),COLORGREEN;
DRAWICON(X_8,REF(CLOSE*0.999,1),1);
DRAWICON(X_12,REF(CLOSE*0.999,1),9);
DRAWICON(X_12,REF(CLOSE*0.998,1),44);
DRAWICON(X_7,REF(CLOSE*1.001,1),2);
DRAWICON(X_11,REF(CLOSE*1.0005,1),39);
DRAWICON(X_11,REF(CLOSE*1.002,1),45);
X_13:=CLOSE>REF(CLOSE,1) AND CLOSE/X_1>1.03;
X_14:=CLOSE<REF(CLOSE,1) AND CLOSE/X_1<0.97;
X_15:=CROSS(SUM(X_13,0),0.5);
X_16:=CROSS(SUM(X_14,0),0.5);
{分析家公式网www.70822.com}
X_17:=SUM(X_15,0)*CROSS(COUNT(CLOSE<REF(CLOSE,1),BARSLAST(X_15)),0.5);
X_18:=SUM(X_16,0)*CROSS(COUNT(CLOSE>REF(CLOSE,1),BARSLAST(X_16)),0.5);
X_19:=CONST(SUM(IF(X_17,REF(CLOSE,1),DRAWNULL),0));
X_20:=CONST(SUM(IF(X_18,REF(CLOSE,1),DRAWNULL),0));
X_21:=CROSS(SUM(X_13 AND CLOSE>X_19*1.03,0),0.5);
X_22:=CROSS(SUM(X_14 AND CLOSE<X_20*0.97,0),0.5);
X_23:=SUM(X_21,0)*CROSS(COUNT(CLOSE<REF(CLOSE,1),BARSLAST(X_21)),0.5);
X_24:=SUM(X_22,0)*CROSS(COUNT(CLOSE>REF(CLOSE,1),BARSLAST(X_22)),0.5);
X_25:=CONST(SUM(IF(X_23,REF(CLOSE,1),DRAWNULL),0));
X_26:=CONST(SUM(IF(X_24,REF(CLOSE,1),DRAWNULL),0));
DRAWICON(X_23,CLOSE*1.003,36);
DRAWICON(X_24,CLOSE*0.993,37);
|