A:=1.1*C;
B:=0.9*C;
B1:=100*(WINNER(A)-WINNER(B));
锁定筹码 :=100-B1;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
今卖:=IF(CROSS(90,锁定筹码)AND DIF>DEA,60,0);
筹码锁定区:STICKLINE(锁定筹码>65 AND DIF>DEA,锁定筹码,0,2,0)COLORYELLOW;
STICKLINE(锁定筹码>65 AND DIF>DEA AND CROSS(90,锁定筹码),锁定筹码,0,2,0)COLORMAGENTA;
DRAWTEXT(锁定筹码>65 AND DIF>DEA AND CROSS(90,锁定筹码),锁定筹码*1.25,'风险'),COLORMAGENTA;
DRAWTEXT(锁定筹码>65 AND DIF>DEA AND CROSS(90,锁定筹码),锁定筹码*1.50,'注意'),COLORMAGENTA;
A:=1.1*C;
B:=0.9*C;
B1:=100*(WINNER(A)-WINNER(B));
锁定筹码 :=100-B1;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
今卖:=IF(CROSS(90,锁定筹码)AND DIF>DEA,60,0);
筹码锁定区:STICKLINE(锁定筹码>65 AND DIF>DEA,锁定筹码,0,2,0)COLORYELLOW;
STICKLINE(锁定筹码>65 AND DIF>DEA AND CROSS(90,锁定筹码),锁定筹码,0,2,0)COLORMAGENTA;
DRAWTEXT(锁定筹码>65 AND DIF>DEA AND CROSS(90,锁定筹码),锁定筹码*1.25,'风险'),COLORMAGENTA;
DRAWTEXT(锁定筹码>65 AND DIF>DEA AND CROSS(90,锁定筹码),锁定筹码*1.50,'注意'),COLORMAGENTA;