UID126786
积分463
学分
推广 个
预报后涨停 支
阅读权限40
在线时间 小时
注册时间2011-8-24
最后登录1970-1-1
|
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); UPRAWLINE(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); DOWNRAWLINE(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) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1); 趋势区:=IF((EVERY(DOWN>=REF(DOWN,1),1)),4,2); 低买:=IF(((CROSS(趋势区,2.1))),1.5,0),STICK,COLORRED,LINETHICK3; 高卖:=IF(((CROSS(3.9,趋势区))),-0.7,0),STICK,COLORFF9150,LINETHICK3; {日期}DA:=YEAR AND MONTH AND DAY;AXA:=STRCAT(CON2STR(YEAR,0),'年');AAB:=STRCAT(CON2STR(MONTH,0),'月');AA33:=STRCAT(CON2STR(DAY,0),'日');AA4:=STRCAT('【',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF(WEEKDAY=5,'五',IF(WEEKDAY=6,'六','日'))))))); AA1:=STRCAT(STRCAT(STRCAT(AXA,AAB),STRCAT(AA33,AA4)),'】');S1RAWTEXT_FIX(DA,0.7,1,0,AA1),COLORFFAAFF;TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);AA:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);峰顶线:IF(T1>=1,AA,DRAWNULL),COLOR00FF60;波峰射线:=IF(T1<1,AA,DRAWNULL),POINTDOT,COLOR00FF60;峰谷线:IF(T2>=1,B,DRAWNULL),COLORRED;波谷射线:=IF(T2<1,B,DRAWNULL),POINTDOT,COLORFF00FF;YY:=(H+L+C)/3;DRAWKLINE(YY,YY,YY,YY+0.00006),COLORGREEN;N:=13;L0:=0.02;L5:=ABS(L-REF(L,N))<=L0 OR ABS(C-REF(L,N))<=L0 OR ABS(O-REF(L,N))<=L0 OR ABS(L-REF(O,N))<=L0 OR ABS(C-REF(O,N))<=L0 OR ABS(O-REF(O,N))<=L0 OR ABS(L-REF(C,N))<=L0 OR ABS(C-REF(C,N))<=L0 OR ABS(O-REF(C,N))<=L0 OR ABS(L-REF(H,N))<=L0 OR ABS(C-REF(H,N))<=L0; |
|