「翔博精选指标」船长玩玩筹码I
2022-03-25原创 编 辑:翔博软件
{公式名称: 船长玩玩筹码I
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
VAR1:=120;
VAR2:=COST(0.33);
VAR3:=COST(5);
VAR4:=COST(15);
VAR5:=COST(55);
VAR6:=COST(97);
VAR7:=COST(90);
VAR8:=COST(70);
VAR9:=COST(30);
VAR10:=COST(10);
VAR11:=CONST(HHV(VAR6,120));
VAR12:=CONST(LLV(VAR7,120));
VAR13:=40;
VAR14:=(VAR11-VAR12)/VAR13;
VAR15:=1000;
VAR16:=ROUND(COUNT(RANGE(CLOSE,VAR12+10,VAR12+11*VAR14),VAR1)/VAR1*VAR15);
VAR17:=ROUND(COUNT(RANGE(CLOSE,VAR12+11*VAR14,VAR12+12*VAR14),VAR1)/VAR1*VAR15);
VAR18:=ROUND(COUNT(RANGE(CLOSE,VAR12+12*VAR14,VAR12+13*VAR14),VAR1)/VAR1*VAR15);
VAR19:=ROUND(COUNT(RANGE(CLOSE,VAR12+13*VAR14,VAR12+14*VAR14),VAR1)/VAR1*VAR15);
VAR20:=ROUND(COUNT(RANGE(CLOSE,VAR12+14*VAR14,VAR12+15*VAR14),VAR1)/VAR1*VAR15);
VAR21:=ROUND(COUNT(RANGE(CLOSE,VAR12+15*VAR14,VAR12+16*VAR14),VAR1)/VAR1*VAR15);
VAR22:=ROUND(COUNT(RANGE(CLOSE,VAR12+16*VAR14,VAR12+17*VAR14),VAR1)/VAR1*VAR15);
VAR23:=ROUND(COUNT(RANGE(CLOSE,VAR12+17*VAR14,VAR12+18*VAR14),VAR1)/VAR1*VAR15);
VAR24:=ROUND(COUNT(RANGE(CLOSE,VAR12+18*VAR14,VAR12+19*VAR14),VAR1)/VAR1*VAR15);
VAR25:=ROUND(COUNT(RANGE(CLOSE,VAR12+19*VAR14,VAR12+20*VAR14),VAR1)/VAR1*VAR15);
VAR26:=ROUND(COUNT(RANGE(CLOSE,VAR12+20*VAR14,VAR12+21*VAR14),VAR1)/VAR1*VAR15);
VAR27:=ROUND(COUNT(RANGE(CLOSE,VAR12+21*VAR14,VAR12+22*VAR14),VAR1)/VAR1*VAR15);
VAR28:=ROUND(COUNT(RANGE(CLOSE,VAR12+22*VAR14,VAR12+23*VAR14),VAR1)/VAR1*VAR15);
VAR29:=ROUND(COUNT(RANGE(CLOSE,VAR12+23*VAR14,VAR12+24*VAR14),VAR1)/VAR1*VAR15);
VAR30:=ROUND(COUNT(RANGE(CLOSE,VAR12+24*VAR14,VAR12+25*VAR14),VAR1)/VAR1*VAR15);
VAR31:=ROUND(COUNT(RANGE(CLOSE,VAR12+25*VAR14,VAR12+26*VAR14),VAR1)/VAR1*VAR15);
VAR32:=ROUND(COUNT(RANGE(CLOSE,VAR12+26*VAR14,VAR12+27*VAR14),VAR1)/VAR1*VAR15);
VAR33:=ROUND(COUNT(RANGE(CLOSE,VAR12+27*VAR14,VAR12+28*VAR14),VAR1)/VAR1*VAR15);
VAR34:=ROUND(COUNT(RANGE(CLOSE,VAR12+28*VAR14,VAR12+29*VAR14),VAR1)/VAR1*VAR15);
VAR35:=ROUND(COUNT(RANGE(CLOSE,VAR12+29*VAR14,VAR12+30*VAR14),VAR1)/VAR1*VAR15);
VAR36:=ROUND(COUNT(RANGE(CLOSE,VAR12+30,VAR12+31*VAR14),VAR1)/VAR1*VAR15);
VAR37:=ROUND(COUNT(RANGE(CLOSE,VAR12+31*VAR14,VAR12+32*VAR14),VAR1)/VAR1*VAR15);
VAR38:=ROUND(COUNT(RANGE(CLOSE,VAR12+32*VAR14,VAR12+33*VAR14),VAR1)/VAR1*VAR15);
VAR39:=ROUND(COUNT(RANGE(CLOSE,VAR12+33*VAR14,VAR12+34*VAR14),VAR1)/VAR1*VAR15);
VAR40:=ROUND(COUNT(RANGE(CLOSE,VAR12+34*VAR14,VAR12+35*VAR14),VAR1)/VAR1*VAR15);
VAR41:=ROUND(COUNT(RANGE(CLOSE,VAR12+35*VAR14,VAR12+36*VAR14),VAR1)/VAR1*VAR15);
VAR42:=ROUND(COUNT(RANGE(CLOSE,VAR12+36*VAR14,VAR12+37*VAR14),VAR1)/VAR1*VAR15);
VAR43:=ROUND(COUNT(RANGE(CLOSE,VAR12+37*VAR14,VAR12+38*VAR14),VAR1)/VAR1*VAR15);
VAR44:=ROUND(COUNT(RANGE(CLOSE,VAR12+38*VAR14,VAR12+39*VAR14),VAR1)/VAR1*VAR15);
VAR45:=ROUND(COUNT(RANGE(CLOSE,VAR12+39*VAR14,VAR12+40*VAR14),VAR1)/VAR1*VAR15);
STICKLINE(CURRBARSCOUNT<=VAR16,VAR12+10.3*VAR14,VAR12+10.7*VAR14,0.7,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=VAR17,VAR12+11.3*VAR14,VAR12+11.7*VAR14,0.8,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=VAR18,VAR12+12.3*VAR14,VAR12+12.7*VAR14,0.9,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=VAR19,VAR12+13.3*VAR14,VAR12+13.7*VAR14,1,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=VAR20,VAR12+14.3*VAR14,VAR12+14.7*VAR14,1.2,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=VAR21,VAR12+15.3*VAR14,VAR12+15.7*VAR14,1.6,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=VAR22,VAR12+16.299999*VAR14,VAR12+16.700001*VAR14,1.8,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=VAR23,VAR12+17.299999*VAR14,VAR12+17.700001*VAR14,2,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=VAR24,VAR12+18.299999*VAR14,VAR12+18.700001*VAR14,2.1,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=VAR25,VAR12+19.299999*VAR14,VAR12+19.700001*VAR14,2.2,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=VAR26,VAR12+20.299999*VAR14,VAR12+20.700001*VAR14,2.3,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR27,VAR12+21.299999*VAR14,VAR12+21.700001*VAR14,2.4,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR28,VAR12+22.299999*VAR14,VAR12+22.700001*VAR14,2.5,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR29,VAR12+23.299999*VAR14,VAR12+23.700001*VAR14,2.6,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR30,VAR12+24.299999*VAR14,VAR12+24.700001*VAR14,2.7,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR31,VAR12+25.299999*VAR14,VAR12+25.700001*VAR14,2.8,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR32,VAR12+26.299999*VAR14,VAR12+26.700001*VAR14,2.9,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR33,VAR12+27.299999*VAR14,VAR12+27.700001*VAR14,3,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR34,VAR12+28.299999*VAR14,VAR12+28.700001*VAR14,3.1,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR35,VAR12+29.299999*VAR14,VAR12+29.700001*VAR14,3.2,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR36,VAR12+30.299999*VAR14,VAR12+30.700001*VAR14,3.3,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR37,VAR12+31.299999*VAR14,VAR12+31.700001*VAR14,3.4,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR38,VAR12+32.299999*VAR14,VAR12+32.700001*VAR14,3.5,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR39,VAR12+33.299999*VAR14,VAR12+33.700001*VAR14,3.6,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR41,VAR12+35.299999*VAR14,VAR12+35.700001*VAR14,3.7,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR42,VAR12+36.299999*VAR14,VAR12+36.700001*VAR14,3.8,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR43,VAR12+37.299999*VAR14,VAR12+37.700001*VAR14,3.9,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR44,VAR12+38.299999*VAR14,VAR12+38.700001*VAR14,4,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=VAR45,VAR12+39.299999*VAR14,VAR12+39.700001*VAR14,4,0),COLOREAEAEA;
VAR46:=ROUND(SUM(IF(RANGE(CLOSE,VAR12+10*VAR14,VAR12+11*VAR14),VOL,0),VAR1)/SUM(VOL,VAR1)*VAR15);
VAR47:=ROUND(SUM(IF(RANGE(CLOSE,VAR12+12*VAR14,VAR12+13*VAR14),VOL,0),VAR1)/SUM(VOL,VAR1)*VAR15);
VAR48:=ROUND(SUM(IF(RANGE(CLOSE,VAR12+14*VAR14,VAR12+15*VAR14),VOL,0),VAR1)/SUM(VOL,VAR1)*VAR15);
VAR49:=ROUND(SUM(IF(RANGE(CLOSE,VAR12+16*VAR14,VAR12+17*VAR14),VOL,0),VAR1)/SUM(VOL,VAR1)*VAR15);
VAR50:=ROUND(SUM(IF(RANGE(CLOSE,VAR12+18*VAR14,VAR12+19*VAR14),VOL,0),VAR1)/SUM(VOL,VAR1)*VAR15);
VAR51:=ROUND(SUM(IF(RANGE(CLOSE,VAR12+21*VAR14,VAR12+22*VAR14),VOL,0),VAR1)/SUM(VOL,VAR1)*VAR15);
VAR52:=ROUND(SUM(IF(RANGE(CLOSE,VAR12+23*VAR14,VAR12+24*VAR14),VOL,0),VAR1)/SUM(VOL,VAR1)*VAR15);
VAR53:=ROUND(SUM(IF(RANGE(CLOSE,VAR12+25*VAR14,VAR12+26*VAR14),VOL,0),VAR1)/SUM(VOL,VAR1)*VAR15);
VAR54:=ROUND(SUM(IF(RANGE(CLOSE,VAR12+27*VAR14,VAR12+28*VAR14),VOL,0),VAR1)/SUM(VOL,VAR1)*VAR15);
VAR55:=ROUND(SUM(IF(RANGE(CLOSE,VAR12+29*VAR14,VAR12+30*VAR14),VOL,0),VAR1)/SUM(VOL,VAR1)*VAR15);
VAR56:=ROUND(SUM(IF(RANGE(CLOSE,VAR12+31*VAR14,VAR12+32*VAR14),VOL,0),VAR1)/SUM(VOL,VAR1)*VAR15);
VAR57:=ROUND(SUM(IF(RANGE(CLOSE,VAR12+33*VAR14,VAR12+34*VAR14),VOL,0),VAR1)/SUM(VOL,VAR1)*VAR15);
VAR58:=ROUND(SUM(IF(RANGE(CLOSE,VAR12+35*VAR14,VAR12+36*VAR14),VOL,0),VAR1)/SUM(VOL,VAR1)*VAR15);
VAR59:=ROUND(SUM(IF(RANGE(CLOSE,VAR12+37*VAR14,VAR12+38*VAR14),VOL,0),VAR1)/SUM(VOL,VAR1)*VAR15);
VAR60:=ROUND(SUM(IF(RANGE(CLOSE,VAR12+38*VAR14,VAR12+39*VAR14),VOL,0),VAR1)/SUM(VOL,VAR1)*VAR15);
VAR61:=ROUND(SUM(IF(RANGE(CLOSE,VAR12+39*VAR14,VAR12+40*VAR14),VOL,0),VAR1)/SUM(VOL,VAR1)*VAR15);
STICKLINE(CURRBARSCOUNT<=VAR46,VAR12+10*VAR14,VAR12+10.1*VAR14,4,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=VAR47,VAR12+12*VAR14,VAR12+12.1*VAR14,3.8,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=VAR48,VAR12+14*VAR14,VAR12+14.1*VAR14,3.6,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=VAR49,VAR12+16*VAR14,VAR12+16.1*VAR14,3.4,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=VAR50,VAR12+18*VAR14,VAR12+18.1*VAR14,3.2,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=VAR51,VAR12+21*VAR14,VAR12+21.1*VAR14,2.9,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=VAR52,VAR12+23*VAR14,VAR12+23.1*VAR14,2.7,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=VAR53,VAR12+25*VAR14,VAR12+25.1*VAR14,2.5,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=VAR54,VAR12+27*VAR14,VAR12+27.1*VAR14,2.3,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=VAR55,VAR12+29*VAR14,VAR12+29.1*VAR14,2,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=VAR56,VAR12+31*VAR14,VAR12+31.1*VAR14,1.6,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=VAR57,VAR12+33*VAR14,VAR12+33.099998*VAR14,0.8,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=VAR58,VAR12+35*VAR14,VAR12+35.099998*VAR14,0.6,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=VAR59,VAR12+37*VAR14,VAR12+37.099998*VAR14,0.4,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=VAR60,VAR12+38*VAR14,VAR12+38.099998*VAR14,0.3,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=VAR61,VAR12+39*VAR14,VAR12+39.099998*VAR14,0.2,0),COLOR00AAAA;
VAR62:=REF(CLOSE,1);
VAR63:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.03);
VAR64:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.05);
VAR65:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.07);
STICKLINE(VAR63,CLOSE,OPEN,3,1),COLOR555555;
STICKLINE(VAR63,CLOSE,OPEN,2,1),COLOR777777;
STICKLINE(VAR63,CLOSE,OPEN,1,1),COLORCCCCCC;
STICKLINE(VAR63,CLOSE,OPEN,0.3,1),COLORCCDDBB;
STICKLINE(VAR64,CLOSE,OPEN,3,1),COLOR002288;
STICKLINE(VAR64,CLOSE,OPEN,2,1),COLOR0033AA;
STICKLINE(VAR64,CLOSE,OPEN,1,1),COLOR0055EE;
STICKLINE(VAR64,CLOSE,OPEN,0.3,1),COLOR0088FF;
STICKLINE(VAR65,CLOSE,OPEN,3,1),COLOR117777;
STICKLINE(VAR65,CLOSE,OPEN,2,1),COLOR119999;
STICKLINE(VAR65,CLOSE,OPEN,1,1),COLOR11BBBB;
STICKLINE(VAR65,CLOSE,OPEN,0.3,1),COLOR44FFFF;
VAR66:=50;
IF(CURRBARSCOUNT<=VAR66,CONST(CLOSE),DRAWNULL),DOTLINE,COLOR00EEEE;
IF(CURRBARSCOUNT<=VAR66,CONST(CLOSE)*0.9,DRAWNULL),DOTLINE,COLOR60A4F4;
IF(CURRBARSCOUNT<=VAR66,CONST(CLOSE)*0.9*0.9,DRAWNULL),DOTLINE,COLOREEEEAE;
IF(CURRBARSCOUNT<=VAR66,CONST(CLOSE)*0.9*0.9*0.95,DRAWNULL),DOTLINE,COLOR9AFF9A;
DRAWNUMBER(CURRBARSCOUNT=VAR66+2,CONST(CLOSE),CONST(INTPART(WINNER(CLOSE)*100+0.5))),COLOR00EEEE;
DRAWNUMBER(CURRBARSCOUNT=VAR66+2,CONST(CLOSE)*0.9,CONST(INTPART(WINNER(CLOSE*0.9)*100+0.5))),COLOR60A4F4;
DRAWNUMBER(CURRBARSCOUNT=VAR66+2,CONST(CLOSE)*0.9*0.9,CONST(INTPART(WINNER(CLOSE*0.9*0.9)*100+0.5))),COLOREEEEAE;
DRAWNUMBER(CURRBARSCOUNT=VAR66+2,CONST(CLOSE)*0.9*0.9*0.95,CONST(INTPART(WINNER(CLOSE*0.9*0.9*0.95)*100+0.5))),COLORWHITE;
DRAWTEXT(VAR63,LOW*0.999,1),COLOR44FFFF;
YY:LLV(CLOSE,13),COLOR6803C7;
VAR67:=(OPEN+LOW+HIGH+CLOSE)/4;
VAR68:=EMA(VAR67,5);
船长:HHV(VAR68,60),COLORD8CFBB;
IF(船长>=REF(船长,1),船长,DRAWNULL),COLORRED;
IF(船长<=REF(船长,1),船长,DRAWNULL),COLORGREEN;