beyond202104 发表于 2023-8-28 15:27:46

股价资金走势 波段BS买卖【指标公式】(含选股)

第一部分 副图公式 手机/电脑


CAIH1:=REF(LOW,1);
CAIH2:=SMA(ABS(LOW-CAIH1),3,1)/SMA(MAX(LOW-CAIH1,0),3,1)*100;
CAIH3:=EMA(IF(CLOSE*1.2,CAIH2*10,CAIH2/10),3);
CAIH4:=LLV(LOW,38);
CAIH5:=HHV(CAIH3,38);
CAIH6:=1971101;
CAIH7:=1971201;
CAIH8:=IF(DATE>CAIH6,IF(CLOSECAIH7,1,CAIH8);
CAIH10:=IF(CAIH9=0,1,0);
CAIH11:=EMA(IF(LOWOPEN,CAIH15*(HIGH-LOW),IF(CLOSEREF(CLOSE,1)*1.09,VOL,0)))/10000;
CAIH17:=IF(CLOSE>OPEN,0-CAIH15*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE
CAIH18:=CAIH16+CAIH17;
CAIH19:=SUM(CAIH18,5);
CAIH20:=MA(CAIH18,1);
CAIH21:=SMA(SMA(SMA(CAIH20,2,1),2,1),2,1);
CAIH22:=REF(CAIH21,1);
CAIH23:=SMA(MAX(CAIH21-CAIH22,0),7,1)/SMA(ABS(CAIH21-CAIH22),7,1)*100;
STICKLINE(CAIH23>80,97,100,3,0),COLORCYAN;
CAIH24:=LLV(CAIH21,35);
CAIH25:=HHV(CAIH21,30);
CAIH26:=EMA((CAIH21-CAIH24)/(CAIH25-CAIH24)*4,4)*25;
CAIH27:=CAIH26;
CAIH28:=87.5;
CAIH29:=(CAIH26-LLV(CAIH26,4))/(HHV(CAIH26,4)-LLV(CAIH26,4))*4*25;
CAIH30:=EMA(100*(CAIH21-LLV(CAIH21,18))/(HHV(CAIH21,18)-LLV(CAIH21,18)),3)/4*4*1;
DRAWBAND(CAIH30,RGB(88,0,0),MA(CAIH30,2),RGB(0,88,0));
CAIH31:=(2*CLOSE+HIGH+LOW)/4;
CAIH32:=LLV(LOW,30);
CAIH33:=HHV(HIGH,30);
CAIH34:=IF(CAIH9!=1,EMA((CAIH31-CAIH32)/(CAIH33-CAIH32)*100,8),0);
CAIH35:=EMA(CAIH34,4);
STICKLINE(CAIH34-CAIH35>0,CAIH34,CAIH35,2,1),COLOR990099;
STICKLINE(CAIH34-CAIH350,CAIH39,CAIH40,4,0),COLOR0000CC;
STICKLINE(CAIH39-CAIH4050 AND CAIH39-CAIH40>0 OR (CAIH39-CAIH40>0 AND CAIH34-CAIH35>0 AND CAIH30>MA(CAIH30,2));
CAIH42:=CAIH39<50 AND CAIH39-CAIH40<0 OR (CAIH39-CAIH40<0 AND CAIH34-CAIH3585 AND REF(CAIH55,1)>85 AND REF(CAIH54,1)>65 AND CROSS(CAIH54,CAIH55);
CAIH58:=CAIH5680 AND (REF(CAIH55,1)>95 OR REF(CAIH55,2)>95) AND CAIH54>60 AND CAIH55<83.5 AND CAIH55
CAIH59:=FILTER(CAIH58,4);
STICKLINE(CAIH59,97,100,3,0),COLORCYAN;
CAIH60:=CAIH54<12 AND CAIH56<8 AND (CAIH55<7.2 OR REF(CAIH55,1)REF(CAIH56,1) OR CAIH55>REF(CAIH55,1)) OR (CAIH54<8 AND CAIH56<7 AND CAIH55REF(CAIH55,1)) OR (CAIH54<10 AND CAIH56<7 AND CAIH55CLOSE AND REF(CAIH39,CAIH61+1)
CAIH63:=BARSLAST(REF(CROSS(CAIH40,CAIH39),1));
CAIH64:=REF(CLOSE,CAIH63+1)CAIH39 AND CROSS(CAIH40,CAIH39) AND CAIH39>50;
DRAWICON(CAIH62,(-2),7);
DRAWICON(CAIH64,101,8);


第二部分 选股公式


{选股公式:B图标}
CAIH1:=REF(LOW,1);
CAIH2:=SMA(ABS(LOW-CAIH1),3,1)/SMA(MAX(LOW-CAIH1,0),3,1)*100;
CAIH3:=EMA(IF(CLOSE*1.2,CAIH2*10,CAIH2/10),3);
CAIH4:=LLV(LOW,38);
CAIH5:=HHV(CAIH3,38);
CAIH6:=1971101;
CAIH7:=1971201;
CAIH8:=IF(DATE>CAIH6,IF(CLOSECAIH7,1,CAIH8);
CAIH10:=IF(CAIH9=0,1,0);
CAIH11:=EMA(IF(LOWOPEN,CAIH15*(HIGH-LOW),IF(CLOSEREF(CLOSE,1)*1.09,VOL,0)))/10000;
CAIH17:=IF(CLOSE>OPEN,0-CAIH15*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE
CAIH18:=CAIH16+CAIH17;
CAIH19:=SUM(CAIH18,5);
CAIH20:=MA(CAIH18,1);
CAIH21:=SMA(SMA(SMA(CAIH20,2,1),2,1),2,1);
CAIH22:=REF(CAIH21,1);
CAIH23:=SMA(MAX(CAIH21-CAIH22,0),7,1)/SMA(ABS(CAIH21-CAIH22),7,1)*100;
CAIH24:=LLV(CAIH21,35);
CAIH25:=HHV(CAIH21,30);
CAIH26:=EMA((CAIH21-CAIH24)/(CAIH25-CAIH24)*4,4)*25;
CAIH27:=CAIH26;
CAIH28:=87.5;
CAIH29:=(CAIH26-LLV(CAIH26,4))/(HHV(CAIH26,4)-LLV(CAIH26,4))*4*25;
CAIH30:=EMA(100*(CAIH21-LLV(CAIH21,18))/(HHV(CAIH21,18)-LLV(CAIH21,18)),3)/4*4*1;
CAIH31:=(2*CLOSE+HIGH+LOW)/4;
CAIH32:=LLV(LOW,30);
CAIH33:=HHV(HIGH,30);
CAIH34:=IF(CAIH9!=1,EMA((CAIH31-CAIH32)/(CAIH33-CAIH32)*100,8),0);
CAIH35:=EMA(CAIH34,4);
CAIH36:=CAIH21;
CAIH37:=LLV(CAIH21,30);
CAIH38:=HHV(CAIH21,30);
CAIH39:=IF(CAIH9!=1,EMA((CAIH36-CAIH37)/(CAIH38-CAIH37)*100,8),0);
CAIH40:=EMA(CAIH39,4);
CAIH61:=BARSLAST(REF(CROSS(CAIH39,CAIH40),1));
CAIH62:=REF(CLOSE,CAIH61+1)>CLOSE AND REF(CAIH39,CAIH61+1)
B图标:CAIH62;
{卖出公式:S图标}
CAIH1:=REF(LOW,1);
CAIH2:=SMA(ABS(LOW-CAIH1),3,1)/SMA(MAX(LOW-CAIH1,0),3,1)*100;
CAIH3:=EMA(IF(CLOSE*1.2,CAIH2*10,CAIH2/10),3);
CAIH4:=LLV(LOW,38);
CAIH5:=HHV(CAIH3,38);
CAIH6:=1971101;
CAIH7:=1971201;
CAIH8:=IF(DATE>CAIH6,IF(CLOSECAIH7,1,CAIH8);
CAIH10:=IF(CAIH9=0,1,0);
CAIH11:=EMA(IF(LOWOPEN,CAIH15*(HIGH-LOW),IF(CLOSEREF(CLOSE,1)*1.09,VOL,0)))/10000;
CAIH17:=IF(CLOSE>OPEN,0-CAIH15*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE
CAIH18:=CAIH16+CAIH17;
CAIH19:=SUM(CAIH18,5);
CAIH20:=MA(CAIH18,1);
CAIH21:=SMA(SMA(SMA(CAIH20,2,1),2,1),2,1);
CAIH22:=REF(CAIH21,1);
CAIH23:=SMA(MAX(CAIH21-CAIH22,0),7,1)/SMA(ABS(CAIH21-CAIH22),7,1)*100;
CAIH24:=LLV(CAIH21,35);
CAIH25:=HHV(CAIH21,30);
CAIH26:=EMA((CAIH21-CAIH24)/(CAIH25-CAIH24)*4,4)*25;
CAIH27:=CAIH26;
CAIH28:=87.5;
CAIH29:=(CAIH26-LLV(CAIH26,4))/(HHV(CAIH26,4)-LLV(CAIH26,4))*4*25;
CAIH30:=EMA(100*(CAIH21-LLV(CAIH21,18))/(HHV(CAIH21,18)-LLV(CAIH21,18)),3)/4*4*1;
CAIH31:=(2*CLOSE+HIGH+LOW)/4;
CAIH32:=LLV(LOW,30);
CAIH33:=HHV(HIGH,30);
CAIH34:=IF(CAIH9!=1,EMA((CAIH31-CAIH32)/(CAIH33-CAIH32)*100,8),0);
CAIH35:=EMA(CAIH34,4);
CAIH36:=CAIH21;
CAIH37:=LLV(CAIH21,30);
CAIH38:=HHV(CAIH21,30);
CAIH39:=IF(CAIH9!=1,EMA((CAIH36-CAIH37)/(CAIH38-CAIH37)*100,8),0);
CAIH40:=EMA(CAIH39,4);
CAIH63:=BARSLAST(REF(CROSS(CAIH40,CAIH39),1));
CAIH64:=REF(CLOSE,CAIH63+1)CAIH39 AND CROSS(CAIH40,CAIH39) AND CAIH39>50;
S图标:CAIH64;


芙蓉花开2017 发表于 2023-12-6 19:45:47

这里资源很丰富啊
页: [1]
查看完整版本: 股价资金走势 波段BS买卖【指标公式】(含选股)