大智慧精准画线主图公式源码 大智慧指标公式大全
2015-10-31 9:40:08 股票入门 http://rumen.southmoney.com
大智慧精准画线主图公式源码 大智慧指标公式大全 南方财富网小编为您带来最新的大智慧指标公式
WRAP: break-word; WHITE-SPACE: normal; COLOR: rgb(51,51,51); WORD-SPACING: 0px; PADDING-TOP: 0px; -webkit-text-stroke-width: 0px">每一条线的日期不是绝对的,关键的问题是他们的关系。
input:N(3,1,111);
{现价}
MA1:=MA(C,1);
DRAWTEXTREL(330,915,'现价:'+NUMTOSTRN(MA1,2)),LINETHICK7,COLORred;
A1:=BARSTATUS = 2;
A2:=(REF(HIGH,N)) = (HHV(HIGH,((2 * N) + 1)));
A3:=BACKSET(A2,(N + 1));
A4:=(FILTER(A3,N)) AND (HIGH = (HHV(HIGH,(N + 1))));
A5:=(REF(LOW,N)) = (LLV(LOW,((2 * N) + 1)));
A6:=BACKSET(A5,(N + 1));
A7:=(FILTER(A6,N)) AND (LOW = (LLV(LOW,(N + 1))));
A8:=A1 AND (REF(A4,BARSLAST(A4)));
A9:=BACKSET(A8,(BARSLAST(A4) + 1));
A10:=A9 > (REF(A9,1));
A11:=REF(BARSLAST(A4),1);
A12:=BACKSET(A10,(A11 + 2));
A13:=A12 > (REF(A12,1));
A14:=BACKSET(A13,(A11 + 2));
A15:=A14 > (REF(A14,1));
A16:=BACKSET(A15,(A11 + 2));
A17:=A16 > (REF(A16,1));
短:DRAWLINE(A13,HIGH,A10,HIGH,1),colorMagenta;
中:DRAWLINE(A15,HIGH,A13,HIGH,1),colorMagenta;
长:DRAWLINE(A17,HIGH,A15,HIGH,1),colorMagenta;
平压:DRAWLINE(A10,HIGH,(REF(A10,1)),(REF(HIGH,1)),1),linethick2,colorYellow;
A18:=A1 AND (REF(A7,BARSLAST(A7)));
A19:=BACKSET(A18,(BARSLAST(A7) + 1));
A20:=A19 > (REF(A19,1));
A21:=REF(BARSLAST(A7),1);
A22:=BACKSET(A20,(A21 + 2));
A23:=A22 > (REF(A22,1));
A24:=BACKSET(A23,(A21 + 2));
A25:=A24 > (REF(A24,1));
A26:=BACKSET(A25,(A21 + 2));
A27:=A26 > (REF(A26,1));
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。