1.做个选股公式(出现紫色柱子)
做个选股公式(出现紫色柱子)
A:=(EMA(C,紫色指标)-EMA(C,));
TH:=MAX(HIGH,REF(CLOSE,1));
TL:=MIN(LOW,REF(CLOSE,1));
ACC1:=SUM(CLOSE-TL,4)/SUM(TH-TL,4);
ACC2:=SUM(CLOSE-TL,8)/SUM(TH-TL,8);
ACC3:=SUM(CLOSE-TL,)/SUM(TH-TL,);
UOS:=(ACC1*8*+ACC2*4*+ACC3*4*8)/(4*8+4*+8*),COLORRED;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:=(*MID+*REF(MID,1)+*REF(MID,2)+*REF(MID,3)+*REF(MID,4)+*REF(MID,5)+*REF(MID,6)+*REF(MID,7)+*REF(MID,8)+*REF(MID,9)+*REF(MID,)+9*REF(MID,)+8*REF(MID,)+7*REF(MID,)+6*REF(MID,)+5*REF(MID,)+4*REF(MID,)+3*REF(MID,)+2*REF(MID,)+REF(MID,))/;
马线:=MA(牛线,6);
XG1:=C>牛线;
A:=MAX(MA(C,),MA(C,));
B:=MIN(MA(C,),MA(C,));
XG2:=C>=A;
E:=MAX(MA(C,),MA(C,));
F:=MIN(MA(C,),MA(C,));
XG3:=C>E;
J:=MAX(MA(C,),MA(C,));
K:=MIN(MA(C,),MA(C,));
XG4:=C>J;
XG:=XG1 AND XG2 AND XG3 AND XG4;
N:=;
SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))>1,1,(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N)));
SAT=1 AND XG=1 AND REF(XG,1)<1 AND BARSCOUNT(C);
公式已测试通过!
希望能够帮助你!天数spark源码教程
公式蜜桃影院源码安装