九毛八公式指标
{N1=3,2~30,N2=8,2~30} SS:(BARSLAST(CLOSE=LLV(CLOSE,N2)))/5; JS:(BARSLAST(CLOSE=HHV(CLOSE,N1)))/5; SS10:(BARSLAST(CLOSE=LLV(CLOSE,10)))/5; JS10:(BARSLAST(CLOSE=HHV(CLOSE,10)))/5; 持股:((SS>0 AND JS=0 )>0); 买入:((持股>0 AND REF(持股,1)=0)); 卖出:((JS=0.2 )>0); 买点:REF(LLV(CLOSE,N2),1); 卖点:REF(HHV(CLOSE,N1),1);
公式模块:
{N1=3,2~30,N2=8,2~30}
SS:=(BArslAST(CLOSE=LLV(CLOSE,N2)))/5; JS:=(BARSLAST(CLOSE=HHV(CLOSE,N1)))/5; SS10:=(BARSLAST(CLOSE=LLV(CLOSE,10)))/5; JS10:=(BARSLAST(CLOSE=HHV(CLOSE,10)))/5; 持股:=((SS>0 AND JS=0 )>0); 买入:=((持股>0 AND REF(持股,1)=0)); SS10>0 AND JS10=0 AND 买入 AND 持股;