源码
{出手捞金}
LJVar1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),0);
LJVar2:=SUMBARS(VOL,CAPITAL);
LJVar3:=IF(CLOSE>LLV(CLOSE,LJVar2),1,-1)*IF(LJVar1>LLV(LJVar1,LJVar2),1,-1);
LJVar4:=IF(LJVar3=-1,1,0);
LJVar5:=COUNT(LJVar4=1,5)>3;
LJVar6:=SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100;
LJVar7:=DMA((HIGH+LOW+CLOSE)/3,VOL/CAPITAL);
LJVar8:=(CLOSE-LJVar7)/LJVar7*100<-19;
LJVar9:=(CLOSE-MIN(REF(CLOSE,5)*0.88,REF(CLOSE,21)*0.78))/CLOSE<0.05;
出手二:= LJVar8 AND LJVar9 AND LJVar5 AND LJVar8; {出现信号,待RSW=0时买入!}
LJV1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),0);
LJV2:=SUMBARS(VOL,CAPITAL);
LJV3:=IF(CLOSE>LLV(CLOSE,LJV2),1,-1);
LJV4:=IF(LJV1>LLV(LJV1,LJV2),1,-1);
LJV5:=LJV3*LJV4;
LJV6:=IF(LJV5=-1,1,0);
LJV7:=COUNT(LJV6=1,8)>3;
LJV8:=AMOUNT/VOL/100;
LJV9:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
LJVA:=SUM(AMOUNT,13)/LJV8/100;
LJVB:=DMA(LJV9,VOL/LJVA);
LJVC:=(CLOSE-LJVB)/LJVB*100<-20;{-15;}
LJVD:=(CLOSE-MIN(REF(CLOSE,5)*0.865,REF(CLOSE,21)*0.772))/CLOSE<0.02;
出手一:=LJVC AND LJVD AND LJV7;
出手:出手一 and 出手二,stick3d,colorred ;