最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信极品饱和量副图指标 九毛八公式指标网

    正文概述    2024-04-07 12:08:48  
    通达信极品饱和量副图指标 源码 贴图
    通达信极品饱和量副图指标 源码 贴图

    {公式名称: 极品饱和量
    公式描述:
    参数数量: 1
    参数1: N, 最小: 9, 最大: 60, 缺省: 9
    公式类型: 技术指标公式-其他类型
    画线方法: 副图
    公式版本: 0
    显示小数: 缺省位数
    坐标线位置: 自动
    额外Y轴分界: 无
    参数精灵:
    请设置计算参数:
    N: PARAM#0 (9.00--60.00)
    用法注释:无
    公式源码:}
    DRAWGBK(CLOSE 0,RGB(0,0,0),RGB(1,1,1),0,1,0);
    X_1:=1.2;
    X_2:=34;
    X_3:=X_2*1.05;
    X_4:=X_2+3;
    X_5:=AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20));
    饱和度:IF(X_5 1,1,X_5)*100,NODRAW,COLORLIBLUE;
    X_6:=VOL;
    X_7:=12;
    X_8:=26;
    X_9:=9;
    X_10:=EMA(CLOSE,X_7)-EMA(CLOSE,X_8);
    X_11:=EMA(X_10,X_9);
    X_12:=(X_10-X_11)*2;
    STICKLINE(X_10 X_11,0,VOL,3,0),COLORRED;
    STICKLINE(X_10 X_11,0,VOL,3,0),COLORGREEN;
    X_13:=9;
    X_14:=3;
    X_15:=3;
    X_16:=(CLOSE-LLV(LOW,X_13))/(HHV(HIGH,X_13)-LLV(LOW,X_13))*100;
    X_17:=SMA(X_16,X_14,1);
    X_18:=SMA(X_17,X_15,1);
    X_19:=3*X_17-2*X_18;
    STICKLINE(X_19 X_18,VOL/2,VOL,3,0),COLORRED;
    STICKLINE(X_19 X_18,VOL/2,VOL,3,0),COLORGREEN;
    X_20:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
    X_21:=REF(EMA(X_20,3),1);
    X_22:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    X_23:=IF(CLOSE OPEN,X_22*(HIGH-LOW),IF(CLOSE OPEN,X_22*(HIGH-OPEN+(CLOSE-LOW)),VOL/2))+IF(CLOSE OPEN,0-X_22*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE OPEN,0-X_22*(HIGH-LOW),0-VOL/2));
    X_24:=VOL/CAPITAL;
    X_25:=IF(X_24 10,10,X_24);
    X_26:=X_23/20/1.15;
    X_27:=X_26*0.55+REF(X_26,1)*0.33+REF(X_26,2)*0.22;
    X_28:=EMA(X_27,8);
    X_29:=EMA(X_27,3);
    X_30:=CONST(IF(VOL=HHV(VOL,X_13),VOL,REF(VOL,BARSLAST(VOL=HHV(VOL,X_13)))));
    STICKLINE(X_26*0.4 =0,X_30*X_1+(X_26*0.4+X_29)*20,X_30*X_1,3,0),COLORYELLOW;
    STICKLINE(X_26*0.4 0,X_30*X_1+(X_26*0.4+X_29)*20,X_30*X_1,3,0),COLORGREEN;
    X_31:=IF(X_26*0.4+X_29 0,X_26*0.4+X_29,DRAWNULL);
    X_32:=IF(X_26*0.4+X_29 0,X_26*0.4+X_29,DRAWNULL);
    X_33:=X_26*0.4+X_29;
    X_34:=AMOUNT/10000;
    净收支:IF(X_26*0.4+X_29 0,X_31,X_32),POINTDOT,COLORWHITE;
    收支比%:IF(X_26*0.4+X_29 0,X_31/X_34*100,X_32/X_34*100),COLORYELLOW;
    X_35:=X_29;{www.9m8.cn 九毛八公式指标网}
    X_36:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,X_36,0,(-1),(-1)),COLOR00C0C0;
    倍量:VOL =REF(VOL,1)*1.9 AND CLOSE REF(CLOSE,1),NODRAW,COLORYELLOW;
    低量:VOL REF(LLV(VOL,13),1),NODRAW,COLORGREEN;
    地量:VOL REF(LLV(VOL,100),1),NODRAW,COLORMAGENTA;
    平量:ABS(VOL-HHV(REF(VOL,1),5))/HHV(REF(VOL,1),5) =0.03 OR ABS(VOL-REF(VOL,1))/REF(VOL,1) =0.03,NODRAW,COLORWHITE;
    倍缩:VOL =REF(VOL,1)*0.5,NODRAW,COLORRED;
    梯量:COUNT(VOL REF(VOL,1),3)=3 AND COUNT(CLOSE OPEN,3)=3,NODRAW,COLORMAGENTA;
    缩涨:COUNT(CLOSE REF(CLOSE,1),2)=2 AND COUNT(VOL REF(VOL,1),2)=2,NODRAW,COLORCYAN;
    黄金柱:DRAWICON(LLV(LOW,3) REF(LOW,3) AND HHV(VOL,3) REF(VOL,3) AND REF(CLOSE,3) REF(OPEN,3) AND REF(VOL,3) 2*REF(VOL,4),0,1);
    STICKLINE(X_35 0,X_30*X_1+X_35*20,X_30*X_1,3,0),COLORRED;
    STICKLINE(X_35 0,X_30*X_1+X_35*20,X_30*X_1,3,0),COLOR008000;
    X_37:=240/FROMOPEN;
    X_38:=X_37;
    X_39:=EMA(CLOSE,12)-EMA(CLOSE,26);
    X_40:=EMA(X_39,9);
    X_41:=X_39-X_40;
    X_42:=IF(X_41,LLV(LOW,21),DRAWNULL);
    X_43:=HHV(HIGH,80)*0.99;
    X_44:=CONST(X_43);
    X_45:=LLV(X_42,80);
    X_46:=CONST(X_45);
    X_47:=MA(CLOSE,20);
    X_48:=CLOSE MA(CLOSE,5);
    X_49:=MA(CLOSE,5) MA(CLOSE,10);
    X_50:=CLOSE MA(CLOSE,10);
    X_51:=MA(CLOSE,5) MA(CLOSE,20);
    X_52:=CLOSE MA(CLOSE,20);
    X_53:=REF(X_47,1);
    X_54:=X_47 X_53;
    X_55:=IF(X_48,10,0-10)+IF(X_49,10,0-10)+IF(X_50,10,0-10)+IF(X_51,10,0-10)+IF(X_52,10,0-10)+IF(X_54,10,0-10);
    X_56:=CLOSE/INDEXC;
    X_57:=MA(X_56,5);
    X_58:=MA(X_56,10);
    X_59:=MA(VOL,5);
    X_60:=MA(VOL,10);
    X_61:=CONST(IF(X_55 0,200,100));
    X_62:=CONST(IF(X_55 0,0,100));
    X_63:=CONST(IF(X_55 0,100,100));
    X_64:=X_44;
    X_65:=X_46;
    X_66:=X_44;
    X_67:=CONST(IF(CROSS(X_55,1) AND X_59 =X_60 AND X_56 =X_57,1,0));
    X_68:=CONST(IF(CROSS(X_55,1) AND X_59 X_60 AND X_56 =X_57,1,0));
    X_69:=CONST(IF(CROSS(X_55,1) AND X_59 X_60 AND X_56 X_57,1,0));
    X_70:=CONST(IF(CROSS(X_55,1) AND X_59 =X_60 AND X_56 X_57,1,0));
    X_71:=CONST(IF(CROSS(1,X_55) AND X_59 =X_60 AND X_56 =X_57,1,0));
    X_72:=CONST(IF(CROSS(1,X_55) AND X_59 X_60 AND X_56 =X_57,1,0));
    X_73:=CONST(IF(CROSS(1,X_55) AND X_59 =X_60 AND X_56 X_57,1,0));
    X_74:=CONST(IF(CROSS(1,X_55) AND X_59 X_60 AND X_56 X_57,1,0));
    X_75:=CONST(IF(X_55 =1 AND REF(X_55,1) 0 AND X_59 =X_60 AND X_56 =X_57,1,0));
    X_76:=CONST(IF(X_55 =1 AND REF(X_55,1) 0 AND X_59 X_60 AND X_56 =X_57,1,0));
    X_77:=CONST(IF(X_55 =1 AND REF(X_55,1) 0 AND X_59 =X_60 AND X_56 X_57,1,0));
    X_78:=CONST(IF(X_55 =1 AND REF(X_55,1) 0 AND X_59 X_60 AND X_56 X_57,1,0));
    X_79:=CONST(IF(X_55 1 AND REF(X_55,1) 0 AND X_59 =X_60 AND X_56 =X_57,1,0));
    X_80:=CONST(IF(X_55 1 AND REF(X_55,1) 0 AND X_59 X_60 AND X_56 =X_57,1,0));
    X_81:=CONST(IF(X_55 1 AND REF(X_55,1) 0 AND X_59 =X_60 AND X_56 X_57,1,0));
    X_82:=CONST(IF(X_55 1 AND REF(X_55,1) 0 AND X_59 X_60 AND X_56 X_57,1,0));
    X_83:=CONST(IF(CROSS(X_55,1) AND X_59 =X_60,1,0));
    X_84:=CONST(IF(CROSS(X_55,1) AND X_59 X_60,1,0));
    X_85:=CONST(IF(CROSS(1,X_55) AND X_59 =X_60,1,0));
    X_86:=CONST(IF(CROSS(1,X_55) AND X_59 X_60,1,0));
    X_87:=CONST(IF(X_55 =1 AND REF(X_55,1) 0 AND X_59 =X_60,1,0));
    X_88:=CONST(IF(X_55 =1 AND REF(X_55,1) 0 AND X_59 X_60,1,0));
    X_89:=CONST(IF(X_55 1 AND REF(X_55,1) 0 AND X_59 =X_60,1,0));
    X_90:=CONST(IF(X_55 1 AND REF(X_55,1) 0 AND X_59 X_60,1,0));
    X_91:=(HIGH-LOW)*1000000/(VOL*X_38);
    X_92:=X_91 =REF(X_91,1) AND VOL*X_38 =REF(VOL,1);
    X_93:=CONST(X_92);
    X_94:=X_91 REF(X_91,1) AND VOL*X_38 REF(VOL,1);
    X_95:=CONST(X_94);
    X_96:=X_91 =REF(X_91,1) AND VOL*X_38 REF(VOL,1);
    X_97:=CONST(X_96);
    X_98:=X_91 REF(X_91,1) AND VOL*X_38 =REF(VOL,1);
    X_99:=CONST(X_98);
    X_100:=(HIGH+LOW+CLOSE)/3;
    X_101:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
    X_102:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-X_100);
    X_103:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
    X_104:=IF(HIGH=LOW,1,X_100-MIN(CLOSE,OPEN));
    X_105:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
    X_106:=X_101*X_105;
    X_107:=X_102*X_105;
    X_108:=X_103*X_105;
    X_109:=X_104*X_105;
    X_110:=DYNAINFO(23)*X_38;
    X_111:=DYNAINFO(22)*X_38;
    X_112:=IF(ISLASTBAR AND CLOSE 300,(X_109+X_108)*X_37,X_109+X_108);
    X_113:=IF(ISLASTBAR AND CLOSE 300,(X_106+X_107)*X_37,X_106+X_107);
    X_114:=IF(ISLASTBAR AND PERIOD=5 AND CLOSE 300,X_110,X_112);
    X_115:=IF(ISLASTBAR AND PERIOD=5 AND CLOSE 300,X_111,X_113);
    X_116:=(X_115+X_114)/REF(VOL,1)
    X_117:=CONST(X_116);
    X_118:=REF(VOL,1)/(X_115+X_114)
    X_119:=CONST(X_118);
    X_120:=(X_115-X_114)/X_114
    X_121:=CONST(X_120);
    X_122:=(X_114-X_115)/X_115
    X_123:=CONST(X_122);
    X_124:=IF(X_67=1,0.06+0.06,0.06);
    X_125:=IF(X_68=1,X_124+0.06,X_124);
    X_126:=IF(X_69=1,X_125+0.06,X_125);
    X_127:=IF(X_70=1,X_126+0.06,X_126);
    X_128:=IF(X_71=1,X_127+0.06,X_127);
    X_129:=IF(X_72=1,X_128+0.06,X_128);
    X_130:=IF(X_73=1,X_129+0.06,X_129);
    X_131:=IF(X_74=1,X_130+0.06,X_130);
    X_132:=IF(X_75=1,X_131+0.06,X_131);
    X_133:=IF(X_76=1,X_132+0.06,X_132);
    X_134:=IF(X_77=1,X_133+0.06,X_133);
    X_135:=IF(X_78=1,X_134+0.06,X_134);
    X_136:=IF(X_79=1,X_135+0.06,X_135);
    X_137:=IF(X_80=1,X_136+0.06,X_136);
    X_138:=IF(X_81=1,X_137+0.06,X_137);
    X_139:=IF(X_82=1,X_138+0.06,X_138);
    X_140:=IF(X_83=1,X_139+0.06,X_139);
    X_141:=IF(X_84=1,X_140+0.06,X_140);
    X_142:=IF(X_85=1,X_141+0.06,X_141);
    X_143:=IF(X_86=1,X_142+0.06,X_142);
    X_144:=IF(X_87=1,X_143+0.06,X_143);
    X_145:=IF(X_88=1,X_144+0.06,X_144);
    X_146:=IF(X_89=1,X_145+0.06,X_145);
    X_147:=IF(X_90=1,X_146+0.06,X_146);
    X_148:=IF(X_93=1,X_147+0.06,X_147);
    X_149:=IF(X_95=1,X_148+0.06,X_148);
    X_150:=IF(X_97=1,X_149+0.06,X_149);
    X_151:=IF(X_99=1,X_150+0.06,X_150);
    X_152:=IF(X_117=1,X_151+0.03,X_151);
    X_153:=IF(X_119=1,X_152+0.03,X_152);
    X_154:=IF(X_121=1,X_153+0.03,X_153);
    X_155:=IF(X_123=1,X_154+0.03,X_154);
    DRAWTEXT_FIX(X_67=1,0.1,0,0,170),COLORMAGENTA;
    DRAWTEXT_FIX(X_68=1,0.1,0,0,171),COLORMAGENTA;
    DRAWTEXT_FIX(X_69=1,0.1,0,0,172),COLORMAGENTA;
    DRAWTEXT_FIX(X_70=1,0.1,0,0,173),COLORMAGENTA;
    DRAWTEXT_FIX(X_71=1,0.1,0,0,174),COLORYELLOW;
    DRAWTEXT_FIX(X_72=1,0.1,0,0,175),COLORYELLOW;
    DRAWTEXT_FIX(X_73=1,0.1,0,0,176),COLORWHITE;
    DRAWTEXT_FIX(X_74=1,0.1,0,0,177),COLORCYAN;
    DRAWTEXT_FIX(X_75=1,0.1,0,0,178),COLORYELLOW;
    DRAWTEXT_FIX(X_76=1,0.1,0,0,179),COLORYELLOW;
    DRAWTEXT_FIX(X_77=1,0.1,0,0,180),COLORWHITE;
    DRAWTEXT_FIX(X_78=1,0.1,0,0,181),COLORCYAN;
    DRAWTEXT_FIX(X_79=1,0.1,0,0,182),COLORCYAN;
    DRAWTEXT_FIX(X_80=1,0.1,0,0,183),COLORCYAN;
    DRAWTEXT_FIX(X_81=1,0.1,0,0,184),COLORCYAN;
    DRAWTEXT_FIX(X_82=1,0.1,0,0,185),COLORWHITE;
    DRAWTEXT_FIX(X_83,0.1,0.05,0,186),COLORGREEN;
    DRAWTEXT_FIX(X_84,0.1,0.05,0,187),COLORMAGENTA;
    DRAWTEXT_FIX(X_85,0.1,0.05,0,188),COLORAAAAAA;
    DRAWTEXT_FIX(X_86,0.1,0.05,0,189),COLORWHITE;
    DRAWTEXT_FIX(X_87,0.1,0.05,0,190),COLORYELLOW;
    DRAWTEXT_FIX(X_88,0.1,0.05,0,191),COLORGREEN;
    DRAWTEXT_FIX(X_89,0.1,0.05,0,192),COLORWHITE;
    DRAWTEXT_FIX(X_90,0.1,0.05,0,193),COLORWHITE;
    DRAWTEXT_FIX(X_93,0.1,0.1,0,194),COLORWHITE;
    DRAWTEXT_FIX(X_95,0.1,0.1,0,195),COLORGREEN;
    DRAWTEXT_FIX(X_97,0.1,0.1,0,196),COLORGREEN;
    DRAWTEXT_FIX(X_99,0.1,0.1,0,197),COLORYELLOW;
    DRAWTEXT_FIX(X_117,0.1,0.15,0,198),COLORGREEN;
    DRAWTEXT_FIX(X_119,0.1,0.15,0,199),COLORYELLOW;
    DRAWTEXT_FIX(X_121,0.1,0.2,0,200),COLORGREEN;
    DRAWTEXT_FIX(X_123,0.1,0.2,0,201),COLORYELLOW;
    STICKLINE(倍量,0,VOL,1,0),COLORYELLOW;
    STICKLINE(低量,0,VOL,1,0),COLORGREEN;
    STICKLINE(地量,0,VOL,1,0),COLORMAGENTA;
    STICKLINE(平量,0,VOL,1,0),COLORWHITE;
    STICKLINE(倍缩,0,VOL,1,0),COLORRED;
    STICKLINE(梯量,0,VOL,1,0),COLORMAGENTA;
    STICKLINE(缩涨,0,VOL,1,0),COLORBLUE;
    X_156:=CURRBARSCOUNT;
    X_157:=VOL=HHV(VOL,60-X_156+1) AND X_156 =60 AND CLOSE =OPEN AND CLOSE REF(CLOSE,1);
    X_158:=CONST(COUNT(X_157,60));
    X_159:=CONST(BARSLAST(X_157))+1-X_156;
    STICKLINE(X_159 =0,REF(VOL,X_159),REF(VOL,X_159),(-1),0),COLORMAGENTA;
    X_160:=CONST(SUMBARS(X_157,2))-X_156;
    STICKLINE(X_158 =2 AND X_160 =0,REF(VOL,X_160),REF(VOL,X_160),(-1),0),COLORYELLOW;
    X_161:=IF(CLOSE REF(CLOSE,1),VOL,-VOL);
    X_162:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_161),0);
    X_163:=EMA(X_162,3)-MA(X_162,9);
    X_164:=EMA(IF(X_163 0,X_163,0),3);
    X_165:=MA(CLOSE,3);
    X_166:=IF(X_164 =VOL,VOL,IF(X_164 VOL,X_164,0));
    STICKLINE(X_164 REF(X_164,1) AND X_165 REF(X_165,1),0,X_166,2,0),COLORYELLOW;
    MA(VOL,8),COLORCYAN;
    MA(VOL,55),COLORBLUE;
    MA(VOL,89),COLORGREEN;
    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信极品饱和量副图指标 九毛八公式指标网 加入收藏