{BS买卖公式--B点买入,S点卖出,红色持股, 绿色持币} VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25); VAR2:=HIGH-REF(HIGH,1); VAR3:=REF(LOW,1)-LOW; VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25); VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25); VAR6:=VAR4*100/VAR1; VAR7:=VAR5*100/VAR1; VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15); VAR9:=(VAR8+REF(VAR8,15))/2; BUYY:=ZIG(3,10); SELLL:=MA(BUYY,2); DRAWICON(CROSS(BUYY,SELLL),L-0.1,7); DRAWICON(CROSS(SELLL,BUYY),H+0.1,8); STICKLINE(BUYY>SELLL AND O>=C,C,O,-1,0),COLORRED; STICKLINE(BUYY>SELLL AND O>=C,L,H,0,0),COLORRED; STICKLINE(BUYY<SELLL AND O<=C,O,C,-1,1),COLORCYAN; STICKLINE(BUYY<SELLL AND O<=C,O,L,0,1),COLORCYAN; STICKLINE(BUYY<SELLL AND O<=C,C,H,0,1),COLORCYAN; VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR12:=SMA(VAR11,3,1); VAR13:=SMA(VAR12,3,1); VAR14:=VAR13 AND VAR13<20; LJB:=1/WINNER(CLOSE); STICKLINE(LJB>10,L-0.45,L-0.4,-1,1),COLORYELLOW; 平均:=(L+H)/2; KB:=ZIG(平均,10); KS:=MA(KB,2); DRAWICON(CROSS(KB,KS),L-0.2,1); DRAWICON(CROSS(KS,KB),H+0.2,2);
买卖精灵一(激进,推荐):
买卖精灵一比买卖精灵二准确度来得高,可靠;可用买卖精灵二进行校验核查。
买卖精灵二(保守,可用来对精灵一买卖校验):
买点可靠稳定,卖点稍有延迟。