水晶球APP 高手云集的股票社区
下载、打开
X

推荐关注更多

柴孝伟

买进就值,越来越值,时享价...


邢星

邢 星 党员,国...


石建军

笔名:石天方。中国第一代投...


揭幕者

名博


洪榕

原上海大智慧执行总裁


小黎飞刀

黎仕禹,名博


启明

私募基金经理,职业投资人


李大霄

前券商首席经济学家


桂浩明

申万证券研究所首席分析师


宋清辉

著名经济学家宋清辉官方账号...


banner

banner

转啊转圈圈   / 2023-06-16 20:31 发布

量化侦察兵:
永久日:=11221212;
永久:=IF(DATE<永久日,1,DRAWNULL);
主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)*永久,COLORMAGENTA,LINETHICK2;
警戒线: 80*永久,COLORYELLOW;
强:60,COLORWHITE;
AO1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1)*永久;
AO2:=SMA(ABS(LOW-AO1),13,1)/SMA(MAX(LOW-AO1,0),10,1)*永久;
AO3:=EMA(AO2,10)*永久;
AO4:=LLV(LOW,33)*永久;
AO5:=EMA(IF(LOW<=AO4,AO3,0),3)*永久;
STICKLINE(AO5>REF(AO5,1),0,AO5,3,0 )*永久,COLOR000055;
STICKLINE(AO5>REF(AO5,1),0,AO5,2.6,0 )*永久,COLOR000077;
STICKLINE(AO5>REF(AO5,1),0,AO5,2.1,0 )*永久,COLOR000099;
STICKLINE(AO5>REF(AO5,1),0,AO5,1.5,0 )*永久,COLOR0000BB;
STICKLINE(AO5>REF(AO5,1),0,AO5,0.9,0 )*永久,COLOR0000DD;
STICKLINE(AO5>REF(AO5,1),0,AO5,0.3,0 )*永久,COLOR0000FF;
STICKLINE(AO5STICKLINE(AO5STICKLINE(AO5STICKLINE(AO5STICKLINE(AO5STICKLINE(AO5主力出没:IF(AO5>REF(AO5,1),AO5,0)*永久,COLORRED,NODRAW;
洗盘:IF(AO5VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2))*永久;
VARD:=(CLOSEVARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*永久;
VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2))*永久;
VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*永久;
VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2))*永久;
VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*永久;
VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2))*永久;
VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*永久;
VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2))*永久;
VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*永久;
VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2))*永久;
VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*永久;
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26)*永久;
DEA:=EMA(DIFF,9)*永久,COLORFFFF00;
MACD:=(DIFF-DEA)*2*永久;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1))*永久;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1))*永久;
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF> REF(DIFF,A1+1) AND CROSS(DIFF,DEA)*永久;
顶背离:=REF(CLOSE,A2+1)< CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF)*永久;
④:IF(底背离,57,0),LINETHICK3,COLORBROWN;
DRAWTEXT(底背离,15,'←MACD 底背离')*永久,COLORWHITE;
DRAWTEXT(顶背离,70,'←MACD 顶背离'),COLORGREEN;