第一部分 副图公式 手机/电脑
趋势线:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))
*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))
*100,5,1),3,1),COLORFF00FF;
条件0:IF(趋势线100,CAIH9-100,0);
CAIH11:=HHV(HIGH,34);
CAIH12:=EMA((CAIH6-CAIH8)/(CAIH11-CAIH8)*100,13);
CAIH13:=EMA(0.667*REF(CAIH12,1)+0.333*CAIH12,2);
CAIH13,COLOR000000;
DRAWBAND(CAIH12,RGB(255,0,0),CAIH13,RGB(256,200,0));
CHA1:=HHV(HIGH,50)/LLV(LOW,100)>1.5;
CHA2:=(HHV(HIGH,50)-LOW)/(HHV(HIGH,50)-LLV(LOW,100));
CHA3:=(LOW-LLV(LOW,100))/(HHV(HIGH,50)-LLV(LOW,100));
CHA4:=HHVBARS(HIGH,50)
CHA5:=CHA1 AND CHA2>0.5 AND CHA3>0.3 AND CHA4;
CHA6:=COUNT(CHA5,20)=1;
条件1:=CHA6 AND CHA5;
STICKLINE(条件1,0,20,4,0),COLOR009999;
STICKLINE(条件1,0,20,2,0),COLOR00BBBB;
STICKLINE(条件1,0,20,1,0),COLOR00DDDD;
STICKLINE(条件1,0,20,0.4,0),COLOR00FFFF;
DRAWTEXT(条件1,22,'反弹'),COLOR00BBFF;
CAIH2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(CAIH2W,3);
CAIH3W:=EMA(CAIH2W,7);
M1:= EMA(CAIH3W,5);
MB1:=CROSS(MW,M1) AND M1<20;
条件2:IF((MB1),20,0),LINETHICK2,COLORRED;
DRAWTEXT(CROSS(MW,M1) AND M1<20,22,'抄底'),COLORRED;
DRAWICON(CROSS(80,趋势线),80,2);
买点:条件0 AND 条件2;
STICKLINE(买点,0,30,4,0),COLOR000099;
STICKLINE(买点,0,30,2,0),COLOR0000BB;
STICKLINE(买点,0,30,1,0),COLOR0000DD;
STICKLINE(买点,0,30,0.4,0),COLOR0000FF;
条件3:=CROSS(趋势线,CAIH12) AND CAIH121.5;
CHA2:=(HHV(HIGH,50)-LOW)/(HHV(HIGH,50)-LLV(LOW,100));
CHA3:=(LOW-LLV(LOW,100))/(HHV(HIGH,50)-LLV(LOW,100));
CHA4:=HHVBARS(HIGH,50)
CHA5:=CHA1 AND CHA2>0.5 AND CHA3>0.3 AND CHA4;
CHA6:=COUNT(CHA5,20)=1;
条件1:=CHA6 AND CHA5;
反弹:条件1;
{选股公式二:买点}
趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))
*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))
*100,5,1),3,1),COLORFF00FF;
条件0:=IF(趋势线<=10,12,0),LINETHICK2,COLORFF00FF;
CAIH2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(CAIH2W,3);
CAIH3W:=EMA(CAIH2W,7);
M1:= EMA(CAIH3W,5);
MB1:=CROSS(MW,M1) AND M1<20;
条件2:=IF((MB1),20,0),LINETHICK2,COLORRED;
买点:条件0 AND 条件2;
{选股公式三:抄底}
CAIH2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(CAIH2W,3);
CAIH3W:=EMA(CAIH2W,7);
M1:= EMA(CAIH3W,5);
抄底:CROSS(MW,M1) AND M1100,CAIH9-100,0);
CAIH11:=HHV(HIGH,34);
CAIH12:=EMA((CAIH6-CAIH8)/(CAIH11-CAIH8)*100,13);
条件3:=CROSS(趋势线,CAIH12) AND CAIH12<60;
拉升:条件3;
|