副图公式源码:支持手机/电脑
LC:=REF(CLOSE,1);
N:=14;
趋势:SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100,COLORYELLOW,LINETHICK2;
超卖:35,COLORGREEN;
超买:70,COLORRED;
STICKLINE(趋势>70,趋势,70,0,0),COLORRED;
STICKLINE(趋势<35,趋势,35,1,0),COLORYELLOW;
RSIA1:=REF(趋势,1)<50 AND 趋势<70 AND 趋势>=HHV(趋势,10) AND H>=HHV(H,10);
DRAWICON(RSIA1,趋势,25);
RSIA:=L<=LLV(L,10) AND 趋势>LLV(趋势,10) AND 趋势<35 AND 趋势>=REF(趋势,1);
DRAWICON(RSIA,趋势,1);
RSIB1:=趋势>70 AND 趋势<HHV(趋势,5) AND H>=HHV(H,5);
DRAWICON(RSIB1,趋势+5,8);
STICKLINE(RSIB1,趋势,70,1,0),COLORGREEN;
RSIB2:=REF(趋势,1)>70 AND 趋势<REF(趋势,1) AND H>=REF(H,1);
DRAWICON(RSIB2,73,39);
STICKLINE(RSIB2,趋势,70,2,0),COLORGREEN;
RSIB3:=趋势<65 AND REF(趋势,1)>70;
DRAWICON(RSIB3,73,39);
STICKLINE(RSIB3,70,趋势,2,0),COLORGREEN;
强弱分界:50,COLORWHITE,DOTLINE;
选股公式源码:
{选股公式一:红箭头}
LC:=REF(CLOSE,1);
N:=14;
趋势:=SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100,COLORYELLOW,LINETHICK2;
RSIA:=L<=LLV(L,10) AND 趋势>LLV(趋势,10) AND 趋势<35 AND 趋势>=REF(趋势,1);
红箭头:RSIA;
{选股公式二:红钻}
LC:=REF(CLOSE,1);
N:=14;
趋势:=SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100,COLORYELLOW,LINETHICK2;
RSIA1:=REF(趋势,1)<50 AND 趋势<70 AND 趋势>=HHV(趋势,10) AND H>=HHV(H,10);
红钻:RSIA1; |