马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
有截图,自己琢磨;根据双阴出货改编。
黄买绿卖(主图) A1:=MA(C,5); A2:=MA(C,10); {可以自设均线,牛市21日线,熊市10日线} A3:=(A1+A2)/2; IF (A1>A2,A1,A3),COLORRED,LINETHICK2; IF (A1>A2,A2,A3),COLORRED,LINETHICK2; IF (A1<=A2,A1,A3),COLOR00FF00,LINETHICK2; IF (A1<=A2,A2,A3),COLOR00FF00,LINETHICK2; A3,COLORWHITE,LINETHICK2; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100; VAR27:=REF(CLOSE,1); VAR28:=SMA(MAX(CLOSE-VAR27,0),5.5,1)/SMA(ABS(CLOSE-VAR27),6,1)*100; VARA:=((AMOUNT)/(VOL))/(100); VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7); VARC:=((SUM(AMOUNT,7))/(VARA))/(100); VARD:=DMA(VARB,(VOL)/(VARC)); VARE:=((CLOSE-VARD)/(VARD))*(100); VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100); VARJ:=MA(VARE,20)+STD(VARE,20); BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100); AA:=SMA(VARF,3,1); SS:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (AA>79); VAR1:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2); VAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2); STICKLINE(VAR1,C,O,3,0),COLORGREEN,LINETHICK2; STICKLINE(VAR1,H,L,0,0),COLORGREEN,LINETHICK2; STICKLINE(VAR2,C,O,3,0),COLORYELLOW,LINETHICK2; STICKLINE(VAR2,H,L,0,0),COLORYELLOW,LINETHICK2;
补充内容 (2012-3-6 19:53):
含未来函数,请慎重抉择
|