beyond202104 发表于 2023-8-28 15:26:41

相对高低操盘 乾坤趋势买卖【指标公式】(含选股)

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


CAIH1:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*200;
CAIH2:=SMA(CAIH1,5,1);
CAIH3:=SMA(CAIH2,5,1);
CAIH4:=3*CAIH2-2*CAIH3;
CAIH5:=LLV(LOW,8);
CAIH6:=HHV(HIGH,8);
CAIH7:=EMA((CLOSE-CAIH5)/(CAIH6-CAIH5)*100,4)*2;
CAIH8:=EMA(0.667*REF(CAIH7,1)+0.333*CAIH7,2);
CAIH9:=3*CAIH7-2*CAIH8;
CAIHA:=POW(MA(CLOSE,9),2)+MA(CLOSE,9);
CAIHB:=POW(MA(LOW,9),2)+MA(LOW,9);
CAIHC:=POW(MA(HIGH,9),2)+MA(HIGH,9);
CAIHD:=(CAIHA-LLV(CAIHB,75))/(HHV(CAIHC,75)-LLV(CAIHB,75))*160;
CAIHE:=SMA(CAIHD,3,1)*1.5-100;
CAIHF:=SMA(CAIHE,3,1);
CAIH10:=3*CAIHE-2*CAIHF;
CAIH11:=(HIGH+LOW+CLOSE*2)/4;
CAIH12:=EMA(CAIH11,13);
CAIH13:=STD(CAIH11,13);
CAIH14:=(CAIH11-CAIH12)*100/CAIH13;
CAIH15:=EMA(CAIH14,5);
CAIH16:=EMA(CAIH15,13);
CAIH17:=EMA(CAIH15,13)+200-100;
CAIH18:=EMA(CAIH17,10);
CAIH19:=3*CAIH17-2*CAIH18;
CAIH1A:=CAIH2+CAIH7+CAIHE+CAIH17;
CAIH1B:=CAIH3+CAIH8+CAIHF+CAIH18;
CAIH1C:=CAIH4+CAIH9+CAIH10+CAIH19;
CAIH1D:=(HIGH+LOW+CLOSE)/3;
CAIH1E:=AMOUNT/VOL/100;
CAIH1F:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
CAIH20:=(CAIH1D-MA(CAIH1D,34))/(0.015*AVEDEV(CAIH1D,34));
CAIH21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
CAIH22:=(HIGH+LOW+CLOSE+CAIH1D)/4;
CAIH23:=EMA(CAIH22,24);
CAIH24:=STD(CAIH22,24);
CAIH25:=(CAIH22-CAIH23)/CAIH24*100;
CAIH26:=(CAIH1D-MA(CAIH1D,24))/(0.015*AVEDEV(CAIH1D,24));
CAIH27:=EMA(CAIH25,5);
CAIH28:=(CAIH1E-MA(CAIH1E,21))/(0.015*AVEDEV(CAIH1E,21));
CAIH29:=(CAIH1F-MA(CAIH1F,90))/(0.015*AVEDEV(CAIH1F,90));
CAIH2A:=((CAIH29+CAIH28+CAIH27+CAIH26+CAIH20)/5+165)/4;
CAIH2B:=(CAIH1A+CAIH1B+CAIH1C*30)/32/5-15;
CAIH2C:=(CAIH2A+CAIH2B)/2/1.1;
操盘线:CAIH2C, COLORRED,LINETHICK3;
乾坤线:MA(操盘线,26), COLORYELLOW,LINETHICK3;
相对高位:乾坤线+2*STD(操盘线,26),LINETHICK3;
相对低位:乾坤线-2*STD(操盘线,26), COLORFFFFFF,LINETHICK3;
IF(操盘线>乾坤线,乾坤线,操盘线), , COLORGREEN,LINETHICK4;
买入:DRAWICON(CROSS(操盘线,乾坤线),乾坤线*0.97,1);
DRAWICON(CROSS(操盘线,相对低位),相对低位*0.97,5);
卖出:DRAWICON(CROSS(相对高位,操盘线),相对高位*0.97,2);
乾坤线,COLORYELLOW;


第二部分 选股公式


{选股公式一:红箭头图标}
CAIH1:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*200;
CAIH2:=SMA(CAIH1,5,1);
CAIH3:=SMA(CAIH2,5,1);
CAIH4:=3*CAIH2-2*CAIH3;
CAIH5:=LLV(LOW,8);
CAIH6:=HHV(HIGH,8);
CAIH7:=EMA((CLOSE-CAIH5)/(CAIH6-CAIH5)*100,4)*2;
CAIH8:=EMA(0.667*REF(CAIH7,1)+0.333*CAIH7,2);
CAIH9:=3*CAIH7-2*CAIH8;
CAIHA:=POW(MA(CLOSE,9),2)+MA(CLOSE,9);
CAIHB:=POW(MA(LOW,9),2)+MA(LOW,9);
CAIHC:=POW(MA(HIGH,9),2)+MA(HIGH,9);
CAIHD:=(CAIHA-LLV(CAIHB,75))/(HHV(CAIHC,75)-LLV(CAIHB,75))*160;
CAIHE:=SMA(CAIHD,3,1)*1.5-100;
CAIHF:=SMA(CAIHE,3,1);
CAIH10:=3*CAIHE-2*CAIHF;
CAIH11:=(HIGH+LOW+CLOSE*2)/4;
CAIH12:=EMA(CAIH11,13);
CAIH13:=STD(CAIH11,13);
CAIH14:=(CAIH11-CAIH12)*100/CAIH13;
CAIH15:=EMA(CAIH14,5);
CAIH16:=EMA(CAIH15,13);
CAIH17:=EMA(CAIH15,13)+200-100;
CAIH18:=EMA(CAIH17,10);
CAIH19:=3*CAIH17-2*CAIH18;
CAIH1A:=CAIH2+CAIH7+CAIHE+CAIH17;
CAIH1B:=CAIH3+CAIH8+CAIHF+CAIH18;
CAIH1C:=CAIH4+CAIH9+CAIH10+CAIH19;
CAIH1D:=(HIGH+LOW+CLOSE)/3;
CAIH1E:=AMOUNT/VOL/100;
CAIH1F:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
CAIH20:=(CAIH1D-MA(CAIH1D,34))/(0.015*AVEDEV(CAIH1D,34));
CAIH21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
CAIH22:=(HIGH+LOW+CLOSE+CAIH1D)/4;
CAIH23:=EMA(CAIH22,24);
CAIH24:=STD(CAIH22,24);
CAIH25:=(CAIH22-CAIH23)/CAIH24*100;
CAIH26:=(CAIH1D-MA(CAIH1D,24))/(0.015*AVEDEV(CAIH1D,24));
CAIH27:=EMA(CAIH25,5);
CAIH28:=(CAIH1E-MA(CAIH1E,21))/(0.015*AVEDEV(CAIH1E,21));
CAIH29:=(CAIH1F-MA(CAIH1F,90))/(0.015*AVEDEV(CAIH1F,90));
CAIH2A:=((CAIH29+CAIH28+CAIH27+CAIH26+CAIH20)/5+165)/4;
CAIH2B:=(CAIH1A+CAIH1B+CAIH1C*30)/32/5-15;
CAIH2C:=(CAIH2A+CAIH2B)/2/1.1;
操盘线:=CAIH2C, COLORRED,LINETHICK3;
乾坤线:=MA(操盘线,26), COLORYELLOW,LINETHICK3;
红箭头图标:CROSS(操盘线,乾坤线);
{选股公式二:钱袋图标}
CAIH1:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*200;
CAIH2:=SMA(CAIH1,5,1);
CAIH3:=SMA(CAIH2,5,1);
CAIH4:=3*CAIH2-2*CAIH3;
CAIH5:=LLV(LOW,8);
CAIH6:=HHV(HIGH,8);
CAIH7:=EMA((CLOSE-CAIH5)/(CAIH6-CAIH5)*100,4)*2;
CAIH8:=EMA(0.667*REF(CAIH7,1)+0.333*CAIH7,2);
CAIH9:=3*CAIH7-2*CAIH8;
CAIHA:=POW(MA(CLOSE,9),2)+MA(CLOSE,9);
CAIHB:=POW(MA(LOW,9),2)+MA(LOW,9);
CAIHC:=POW(MA(HIGH,9),2)+MA(HIGH,9);
CAIHD:=(CAIHA-LLV(CAIHB,75))/(HHV(CAIHC,75)-LLV(CAIHB,75))*160;
CAIHE:=SMA(CAIHD,3,1)*1.5-100;
CAIHF:=SMA(CAIHE,3,1);
CAIH10:=3*CAIHE-2*CAIHF;
CAIH11:=(HIGH+LOW+CLOSE*2)/4;
CAIH12:=EMA(CAIH11,13);
CAIH13:=STD(CAIH11,13);
CAIH14:=(CAIH11-CAIH12)*100/CAIH13;
CAIH15:=EMA(CAIH14,5);
CAIH16:=EMA(CAIH15,13);
CAIH17:=EMA(CAIH15,13)+200-100;
CAIH18:=EMA(CAIH17,10);
CAIH19:=3*CAIH17-2*CAIH18;
CAIH1A:=CAIH2+CAIH7+CAIHE+CAIH17;
CAIH1B:=CAIH3+CAIH8+CAIHF+CAIH18;
CAIH1C:=CAIH4+CAIH9+CAIH10+CAIH19;
CAIH1D:=(HIGH+LOW+CLOSE)/3;
CAIH1E:=AMOUNT/VOL/100;
CAIH1F:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
CAIH20:=(CAIH1D-MA(CAIH1D,34))/(0.015*AVEDEV(CAIH1D,34));
CAIH21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
CAIH22:=(HIGH+LOW+CLOSE+CAIH1D)/4;
CAIH23:=EMA(CAIH22,24);
CAIH24:=STD(CAIH22,24);
CAIH25:=(CAIH22-CAIH23)/CAIH24*100;
CAIH26:=(CAIH1D-MA(CAIH1D,24))/(0.015*AVEDEV(CAIH1D,24));
CAIH27:=EMA(CAIH25,5);
CAIH28:=(CAIH1E-MA(CAIH1E,21))/(0.015*AVEDEV(CAIH1E,21));
CAIH29:=(CAIH1F-MA(CAIH1F,90))/(0.015*AVEDEV(CAIH1F,90));
CAIH2A:=((CAIH29+CAIH28+CAIH27+CAIH26+CAIH20)/5+165)/4;
CAIH2B:=(CAIH1A+CAIH1B+CAIH1C*30)/32/5-15;
CAIH2C:=(CAIH2A+CAIH2B)/2/1.1;
操盘线:=CAIH2C, COLORRED,LINETHICK3;
乾坤线:=MA(操盘线,26), COLORYELLOW,LINETHICK3;
相对低位:=乾坤线-2*STD(操盘线,26), COLORFFFFFF,LINETHICK3;
钱袋图标:CROSS(操盘线,相对低位);


状或难 发表于 2024-3-8 21:32:09

群众力量就是大,分享万岁!
页: [1]
查看完整版本: 相对高低操盘 乾坤趋势买卖【指标公式】(含选股)