以下是少见超级准的月线指标公式源码和使用说明
少见超级准的月线选股指标公式源码:
月开盘1:O#MONTH,NODRAW;
月收盘:=C#MONTH,NODRAW;
月最高:=H#MONTH,NODRAW;
月最低:=L#MONTH,NODRAW;
TJ:=NOT(月最低=REF(月最低,1))ORNOT(月最高=REF(月最高,1))ORNOT(月开盘1=REF(月开盘1,1))ORNOT(月收盘=REF(月收盘,1));
TX:=BArslAst(TJ)+1;
TX1:=BacKSET(TJ,(REF(TX,1)/2)+1.6);
ZJ:=crOSS(TX1,0.5);
K1M:=月开盘1=REF(月开盘1,1)AND月收盘=REF(月收盘,1)AND月最高=REF(月最高,1)AND月最低=REF(月最低,1);
K3M:=REF(C,1)=DYNAINFO(3)ANDO=DYNAINFO(4)ANDC=DYNAINFO(7)ANDH=DYNAINFO(5)ANDL=DYNAINFO(6);
DDM:=REF(BARSLAST(K1M=0)+1,1),LINETHICK0;
DD1M:=CROSS(BACKSET((K1M=0ORK3M)ANDDDM=5,4),0.5),LINETHICK0;
DD2M:=CROSS(BACKSET((K1M=0ORK3M)AND(DDM=4ORDDM=3),3),0.5),LINETHICK0;
DD3M:=CROSS(BACKSET((K1M=0ORK3M)ANDDDM =2,2),0.5),LINETHICK0;
BK1M:=DD1MORDD2MORDD3M;
BK2M:=CROSS(BACKSET(K1M=0,2),0.5);
BK3M:=CROSS(BACKSET(K1M=0ANDREF(K1M=0,1),2),0.5);
月开盘:IF(BARSLAST(K1M=0)=0,O,REF(O,BARSLAST(K1M=0))),LINETHICK0;
K0M:=月收盘 月开盘OR(月收盘=月开盘AND月收盘 REF(月收盘,BARSLAST(K1M=0)+1));
{STICKLINE(K0MANDBK1M,月最高,月收盘,0.2,0),COLORLIRED;}
STICKLINE(K0MANDZJ,月最高,月最低,1,0),COLORLIRED;
STICKLINE(K0MAND((K1MANDBK2M=0ANDK3M=0)ORBK3M),月开盘,月收盘,8,0),COLORLIRED;
{STICKLINE(NOT(K0M)ANDBK1M,月最高,月最低,0.2,0),COLORLIGREEN;}
STICKLINE(NOT(K0M)ANDZJ,月最高,月最低,1,0),COLORLIGREEN;
STICKLINE(NOT(K0M)AND((K1MANDBK2M=0ANDK3M=0)ORBK3M),月开盘,月收盘,8,0),COLORLIGREEN;
月线选股指标:=(((CLOSE-MA(CLOSE,20))/MA(CLOSE,20))*100);
月线选股公式:=(((CLOSE-REF(CLOSE,1))/REF(CLOSE,1))*100);
eefff1:=BARSLAST((BARSLAST(((月线选股指标 0)AND(REF(月线选股指标,1) 0)))
eefff2:IF((eefff1 1),SUM(月线选股公式,eefff1),1),STICK,COLORBLUE;
eefff3:BARSLAST((BARSLAST(((月线选股指标 0)AND(REF(月线选股指标,1) 0))) 0)),STICK,COLORRED;
eefff4:BARSLAST((BARSLAST(((月线选股指标 0)AND(REF(月线选股指标,1) 0))) 0)),STICK,COLORGREEN;
eefff5:IF(REF(eefff4,1) 0ANDeefff4=0,3,0),STICK,COLORBLUE;
eefff6:IF(REF(eefff1,1) 0ANDeefff1=0,3,0),STICK,COLORYELLOW;
STICKLINE((eefff2 0),eefff2,0,1,0),COLOR00FFFF;
STICKLINE((eefff2 =0),eefff2,0,1,0),COLORBROWN;
STICKLINE((eefff1 0),eefff1,0,1,0),COLORRED;
STICKLINE((eefff4 0),eefff4,0,1,0),COLORGREEN;
STICKLINE(eefff5 0,14,0,1,0),COLORBLUE;
STICKLINE(eefff6 0,15,0,1,0),COLORYELLOW;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
SHORT:=7;LONG:=19;
RMA:=EMA(CLOSE,SHORT);
NMA:=EMA(CLOSE,LONG);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0);
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0);
买进:(LLV(A8,2)=LLV(A8,7)ANDCOUNT(A8 0,2)ANDCROSS(A8,MA(A8,2)))ANDREF(DOWN,1) REF(DOWN,2)ANDUP REF(DOWN,1);
少见超级准的月线选股指标公式截图