以下是通达信金钻指标 大财女变线主图公式 源码(无源码的请下载附件导入)
通达信金钻指标 大财女变线主图公式 源码
看图 所谓金钻指标 送给大家源码 懂的人收下
随时收回 看图
大财女主
{大财女变线_主图}
{技术指标} {其他类型} {主图叠加}
{公式描述: 大财女变线操盘系统_主图 }
涨%:ROUND(((INDEXADV / (INDEXADV + INDEXDEC)) * 100)),NODRAW,colorRed;
流通市值:(FINANCE(40) / 100000000),NODRAW,colorRed;
VAR2:=IF((CURRBARSCOUNT = 1),((VOL * 240) / FROMOPEN),VOL);
VAR3:=((VAR2 * 10000) / FINANCE(7));
VAR4:=((AMOUNT / VOL) / 100);
VAR5:=((((((CLOSE + 0.01) - REF(CLOSE,1)) / REF(CLOSE,1)) >= 0.1) AND ((((CLOSE - 0.01) - REF(CLOSE,1)) / REF(CLOSE,1)) <= 0.1)) AND (CLOSE = HIGH));
VAR6:=IF((CURRBARSCOUNT = 1),(REF(CLOSE,1) * 1.1),DRAWNULL);
STICKLINE((CURRBARSCOUNT = 1),VAR6,MAX(OPEN,CLOSE),-1,-1),colorGray;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
VAR9:=IF((CURRBARSCOUNT = 1),(REF(CLOSE,1) * 0.9),DRAWNULL);
STICKLINE((CURRBARSCOUNT = 1),VAR9,MIN(OPEN,CLOSE),-1,-1),ColorFF0000;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE){更多金钻指标 免费送 加企鹅 3071833019};
VAR12:=CONST(BARSLAST((VAR3 = HHV(VAR3,180))));
VAR13:=IF((CURRBARSCOUNT <= (VAR12 + 1)),CONST(REF(((((CLOSE + OPEN) + HIGH) + LOW) / 4),VAR12)),DRAWNULL);
VAR14:=VAR13;
多空线:VAR14,colorYellow;
DRAWTEXT(ISLASTBAR,VAR14,4),colorYellow;
VAR17:=MA(CLOSE,5);
VAR18:=MA(CLOSE,6);
VAR19:=MA(CLOSE,7);
VAR20:=MA(CLOSE,8);
VAR21:=MA(CLOSE,9);
VAR22:=MA(CLOSE,10);
VAR23:=MA(CLOSE,11);
VAR24:=MA(CLOSE,12);
VAR25:=MA(CLOSE,13);
VAR26:=MA(CLOSE,14);
VAR27:=MA(CLOSE,15);
VAR28:=MA(CLOSE,16);
VAR29:=MA(CLOSE,17);
VAR30:=MA(CLOSE,18);
VAR31:=MA(CLOSE,19);
VAR32:=MA(CLOSE,20);
VAR33:=MA(CLOSE,21);
VAR34:=MA(CLOSE,22);
VAR35:=MA(CLOSE,23);
VAR36:=MA(CLOSE,24);
VAR37:=MA(CLOSE,25);
VAR38:=MA(CLOSE,26);
VAR39:=MA(CLOSE,27);
VAR40:=MA(CLOSE,28);
VAR41:=MA(CLOSE,29);
VAR42:=MA(CLOSE,30);
VAR43:=MA(CLOSE,31);
VAR44:=MAX(MAX(MAX(MAX(VAR17,VAR18),VAR19),VAR20),VAR21);
VAR45:=MAX(MAX(MAX(MAX(VAR22,VAR23),VAR24),VAR25),VAR26);
VAR46:=MAX(MAX(MAX(MAX(VAR27,VAR28),VAR29),VAR30),VAR31);
VAR47:=MAX(MAX(MAX(MAX(MAX(VAR32,VAR33),VAR34),VAR35),VAR36),VAR37);
VAR48:=MAX(MAX(MAX(MAX(MAX(VAR38,VAR39),VAR40),VAR41),VAR42),VAR43);
VAR49:=MAX(MAX(MAX(MAX(VAR44,VAR45),VAR46),VAR47),VAR48);
VAR50:=IF((VAR49 = VAR17),5,IF((VAR49 = VAR18),6,IF((VAR49 = VAR19),7,IF((VAR49 = VAR20),8,IF((VAR49 = VAR21),9,IF((VAR49 = VAR22),10,IF((VAR49 = VAR23),11,IF((VAR49 = VAR24),12,IF((VAR49 = VAR25),13,IF((VAR49 = VAR26),14,IF((VAR49 = VAR27),15,IF((VAR49 = VAR28),16,IF((VAR49 = VAR29),17,IF((VAR49 = VAR30),18,IF((VAR49 = VAR31),19,IF((VAR49 = VAR32),20,IF((VAR49 = VAR33),21,IF((VAR49 = VAR34),22,IF((VAR49 = VAR35),23,IF((VAR49 = VAR36),24,IF((VAR49 = VAR37),25,DRAWNULL)))))))))))))))))))));
VAR51:=IF((VAR49 = MA(CLOSE,VAR50)),VAR50,IF((VAR49 = VAR38),26,IF((VAR49 = VAR39),27,IF((VAR49 = VAR40),28,IF((VAR49 = VAR41),29,IF((VAR49 = VAR42),30,IF((VAR49 = VAR43),31,32)))))));
VAR52:=IF((BARSCOUNT(CLOSE) >= 31),(((VAR49 * 3) + MA(CLOSE,31)) / 4),MAX(MA(CLOSE,5),MA(CLOSE,BARSCOUNT(CLOSE))));
变线:VAR52,colorWhite;
VAR54:=(VAR2 = HHV(VAR2,VAR51));
VAR55:=REF(REF(LOW,BARSLAST(VAR54)),1);
VAR56:=REF(REF(VAR4,BARSLAST(VAR54)),1);
VAR57:=REF(REF(HIGH,BARSLAST(VAR54)),1);
VAR58:=((MAX(OPEN,CLOSE) / MIN(OPEN,CLOSE)) = HHV((MAX(OPEN,CLOSE) / MIN(OPEN,CLOSE)),VAR51));
VAR59:=(((OPEN / CLOSE) = HHV((OPEN / CLOSE),VAR51)) AND (CLOSE < OPEN));
VAR60:=((CLOSE / OPEN) = HHV((CLOSE / OPEN),VAR51));
STICKLINE(VAR59,OPEN,CLOSE,2,0),colorGreen;
STICKLINE(VAR60,OPEN,CLOSE,2,0),colorRed;
VAR63:=(VAR60 AND VAR54);
STICKLINE(VAR63,OPEN,CLOSE,2,0),colorYellow;
VAR65:=((((((VAR59 AND (VAR2 > MA(VAR2,VAR51))) AND (CLOSE > (变线 * 1.05))) AND (VAR2 > MA(VAR2,5))) AND (CLOSE < OPEN)) AND (CLOSE < REF(CLOSE,1))) AND ((HIGH / 变线) = HHV((HIGH / 变线),5)));
STICKLINE(VAR65,OPEN,CLOSE,2,0),ColorFF0000;
VAR67:=REF(HHV(((((HIGH + CLOSE) + LOW) + HIGH) / 4),7),BARSLAST(CROSS(VAR22,VAR17)));
VAR68:=REF(LLV(MIN(OPEN,CLOSE),10),BARSLAST(CROSS(VAR17,VAR22)));
VAR69:=REF(HHV(MAX(CLOSE,OPEN),7),BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))));
VAR70:=REF(LLV(MIN(CLOSE,OPEN),10),BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10))));
VAR71:=IF((CLOSE > 500),VAR69,VAR67);
VAR72:=IF((CLOSE > 500),VAR70,VAR68);
箱顶:IF((VAR71 = CONST(VAR71)),CONST(VAR71),DRAWNULL),LINETHICK3,Color008080;
箱底:IF((VAR72 = CONST(VAR72)),VAR72,DRAWNULL),LINETHICK3,ColorFF0000;
DRAWTEXT(ISLASTBAR,VAR71,5),Color008080;
DRAWTEXT(ISLASTBAR,VAR72,6),ColorFF0000;
VAR77:=MA(INDEXC,5);
VAR78:=MA(INDEXC,6);
VAR79:=MA(INDEXC,7);
VAR80:=MA(INDEXC,8);
VAR81:=MA(INDEXC,9);
VAR82:=MA(INDEXC,10);
VAR83:=MA(INDEXC,11);
VAR84:=MA(INDEXC,12);
VAR85:=MA(INDEXC,13);
VAR86:=MA(INDEXC,14);
VAR87:=MA(INDEXC,15);
VAR88:=MA(INDEXC,16);
VAR89:=MA(INDEXC,17);
VAR90:=MA(INDEXC,18);
VAR91:=MA(INDEXC,19);
VAR92:=MA(INDEXC,20);
VAR93:=MA(INDEXC,21);
VAR94:=MA(INDEXC,22);
VAR95:=MA(INDEXC,23);
VAR96:=MA(INDEXC,24);
VAR97:=MA(INDEXC,25);
VAR98:=MA(INDEXC,26);
VAR99:=MA(INDEXC,27);
VAR100:=MA(INDEXC,28);
VAR101:=MA(INDEXC,29);
VAR102:=MA(INDEXC,30);
VAR103:=MA(INDEXC,31);
VAR104:=MAX(MAX(MAX(MAX(VAR77,VAR78),VAR79),VAR80),VAR81);
VAR105:=MAX(MAX(MAX(MAX(VAR82,VAR83),VAR84),VAR85),VAR86);
VAR106:=MAX(MAX(MAX(MAX(VAR87,VAR88),VAR89),VAR90),VAR91);
VAR107:=MAX(MAX(MAX(MAX(MAX(VAR92,VAR93),VAR94),VAR95),VAR96),VAR97);
VAR108:=MAX(MAX(MAX(MAX(MAX(VAR98,VAR99),VAR100),VAR101),VAR102),VAR103);
VAR109:=MAX(MAX(MAX(MAX(VAR104,VAR105),VAR106),VAR107),VAR108);
VAR110:=IF((VAR109 = VAR77),5,IF((VAR109 = VAR78),6,IF((VAR109 = VAR79),7,IF((VAR109 = VAR80),8,IF((VAR109 = VAR81),9,IF((VAR109 = VAR82),10,IF((VAR109 = VAR83),11,IF((VAR109 = VAR84),12,IF((VAR109 = VAR85),13,IF((VAR109 = VAR86),14,IF((VAR109 = VAR87),15,IF((VAR109 = VAR88),16,IF((VAR109 = VAR89),17,IF((VAR109 = VAR90),18,IF((VAR109 = VAR91),19,IF((VAR109 = VAR92),20,IF((VAR109 = VAR93),21,IF((VAR109 = VAR94),22,IF((VAR109 = VAR95),23,IF((VAR109 = VAR96),24,IF((VAR109 = VAR97),25,DRAWNULL)))))))))))))))))))));
VAR111:=IF((VAR109 = MA(INDEXC,VAR110)),VAR110,IF((VAR109 = VAR98),26,IF((VAR109 = VAR99),27,IF((VAR109 = VAR100),28,IF((VAR109 = VAR101),29,IF((VAR109 = VAR102),30,IF((VAR109 = VAR103),31,32)))))));
VAR112:=(EVERY(((CLOSE / REF(CLOSE,1)) > (INDEXC / REF(INDEXC,1))),5) OR (COUNT(((CLOSE / REF(CLOSE,1)) > (INDEXC / REF(INDEXC,1))),9) = 8));
VAR113:=((COUNT(VAR112,2) AND (DYNAINFO(4) > 0)) AND IF((CLOSE < OPEN),(VAR2 < REF(VOL,1)),1));
STICKLINE(VAR113,VAR14,VAR14,5,0),colorMagenta;
VAR115:=REF(MIN(REF(LOW,BARSLAST(VAR54)),REF(HIGH,(BARSLAST(VAR54) + 1))),1);
VAR116:=IF(VAR54,REF(MAX(REF(LOW,BARSLAST(VAR54)),REF(LOW,BARSLAST((VAR60 AND (CLOSE > (OPEN * 1.05)))))),1),MAX(REF(LOW,BARSLAST(VAR54)),REF(LOW,BARSLAST((VAR60 AND (CLOSE > (OPEN * 1.05)))))));
VAR117:=IF(BETWEEN(VAR116,VAR68,(VAR68 * 1.03)),VAR68,VAR116);
VAR118:=MAX(MAX(HHV(((HIGH + CLOSE) / 2),5),(变线 + MA((HIGH - 变线),VAR51))),IF((变线 > REF(变线,1)),(变线 * 1.03),变线));
VAR119:=IF((CLOSE < VAR67),MIN(VAR67,VAR118),VAR118);
VAR120:=REF(VAR119,1);
止赢:IF((CURRBARSCOUNT <= 5),CONST(VAR120),DRAWNULL),DOTLINE,colorMagenta;
DRAWTEXT(ISLASTBAR,VAR120,7),colorMagenta;
预埋:IF(ISLASTBAR,VAR119,DRAWNULL),NODRAW,colorMagenta;
止损:IF((VAR115 = CONST(VAR115)),VAR115,IF(ISLASTBAR,VAR115,DRAWNULL)),DOTLINE,colorGreen;
DRAWTEXT(ISLASTBAR,止损,8),colorGreen;
VAR126:=((变线 > VAR71) AND COUNT((CLOSE > 变线),5));
IF(VAR126,变线,DRAWNULL),Color0045FF;
IF((变线 < VAR72),变线,DRAWNULL),colorCyan;
712555523.jpg
71344573.jpg
|