网友求助:
{N:30,100,30;}
获利盘:=WINNER(C)*100;
近邻筹码:=WINNER(C*POW(1.1,0.75))*100-WINNER(C*POW(1.1,-0.75))*100;
获利纵横:获利盘-近邻筹码,COLORFFFFFF,LINETHICK1;
AA:=IF(获利纵横>=N,获利纵横,N);
QSSJ:=BARSLAST(COUNT(获利纵横>=N,2)=2);
备钱阻击:IF(QSSJ<=3 AND COUNT(获利纵横<REF(获利纵横,1),2)=2,-10,N),COLOR00FF00;
{下面两行是通用版本变色柱}
STICKLINE(AA>N AND AA>REF(AA,1),N,AA,8,0),COLOR0000FF;
STICKLINE(AA>N AND AA<REF(AA,1),N,AA,8,0),COLORFFFF00;
{下面一行是大智慧L-2版本变色线}
PARTLINE(AA,AA>REF(AA,1),RGB(255,0,0),AA<REF(AA,1),RGB(0,255,255),AA=REF(AA,1),RGB(255,255,0)),LINETHICK2;
老师能否再把获利纵横在70到90之间做一个选股公式 非常谢老师 做这两个选股公式
解答如下:
【备钱阻击】
{N:30,100,30;}
获利盘:=WINNER(C)*100;
近邻筹码:=WINNER(C*POW(1.1,0.75))*100-WINNER(C*POW(1.1,-0.75))*100;
获利纵横:=获利盘-近邻筹码;
QSSJ:=BARSLAST(COUNT(获利纵横>=N,2)=2);
备钱阻击:QSSJ<=3
AND COUNT(获利纵横<REF(获利纵横,1),2)=2;
【获利纵横70——90】
获利盘:=WINNER(C)*100;
近邻筹码:=WINNER(C*POW(1.1,0.75))*100-WINNER(C*POW(1.1,-0.75))*100;
获利纵横:=获利盘-近邻筹码;
BETWEEN(获利纵横,70,90);