HH:=SYSPARAM(4);
LL:=SYSPARAM(5);
P16:=(LL + ((HH - LL) * 0.625));
P17:=(LL + ((HH - LL) * 0.375));
P7:=(LL + ((HH - LL) * 0.875));
P8:=(LL + ((HH - LL) * 0.667));
P10:=(LL + ((HH - LL) * 0.333));
P11:=(LL + ((HH - LL) * 0.125));
DRAWTEXT((ISLASTBAR = 1),P7,(' ▲87.5%:' + NUMTOSTR(P7,2))),ALIGN2,color84C1FF;
DRAWTEXT((ISLASTBAR = 1),P8,(' ▲66.7%:' + NUMTOSTR(P8,2))),ALIGN2,color84C1FF;
DRAWTEXT((ISLASTBAR = 1),P10,(' ▲33.3%:' + NUMTOSTR(P10,2))),ALIGN2,colorFFFF00;
DRAWTEXT((ISLASTBAR = 1),P11,(' ▲12.5%:' + NUMTOSTR(P11,2))),ALIGN2,colorFFFF00;
DRAWTEXT((ISLASTBAR = 1),P16,(' ⊙62.5%:' + NUMTOSTR(P16,2))),ALIGN2,colorFF00;
DRAWTEXT((ISLASTBAR = 1),P17,(' ⊙37.5%:' + NUMTOSTR(P17,2))),ALIGN2,colorFF00;
NNL:=(BARPOS = SYSPARAM(3));
江05:(LL + ((HH - LL) * 0.05)),COLOR0010FF,linethick2;
江10:(LL + ((HH - LL) * 0.1));
黄191:(LL + ((HH - LL) * 0.191)),COLOR0010FF,linethick2;
江22:(LL + ((HH - LL) * 0.22));
江25:(LL + ((HH - LL) * 0.25));
江28:(LL + ((HH - LL) * 0.28)),COLOR0010FF,linethick2;
黄甘337:(LL + ((HH - LL) * 0.337));
黄382:(LL + ((HH - LL) * 0.382));
甘氏45:(LL + ((HH - LL) * 0.45)),COLOR0010FF,linethick2;
黄500:(LL + ((HH - LL) * 0.5)),COLOR0010FF,linethick2;
黄618:(LL + ((HH - LL) * 0.618));
黄甘667:(LL + ((HH - LL) * 0.667)),COLOR0010FF,linethick2;
黄甘75:(LL + ((HH - LL) * 0.75));
黄809:(LL + ((HH - LL) * 0.809)),COLOR0010FF,linethick2;
江55:(LL + ((HH - LL) * 0.55));
江75:(LL + ((HH - LL) * 0.75));
江78:(LL + ((HH - LL) * 0.78));
江85:(LL + ((HH - LL) * 0.85));
江90:(LL + ((HH - LL) * 0.9)),COLOR0010FF,linethick2;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.05)),(('江恩05%(' + NUMTOSTR(江05,2)) + ')')),color84C1FF;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.1)),(('江恩10%(' + NUMTOSTR(江10,2)) + ')')),color84C1FF;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.22)),(('江恩22%(' + NUMTOSTR(江22,2)) + ')')),color84C1FF;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.25)),(('江恩25%(' + NUMTOSTR(江25,2)) + ')')),color84C1FF;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.28)),(('江恩28%(' + NUMTOSTR(江28,2)) + ')')),COLOR0010FF;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.55)),(('江恩55%(' + NUMTOSTR(江55,2)) + ')')),color84C1FF;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.191)),(('黄金19.1%(' + NUMTOSTR(黄191,2)) + ')')),colorFFFF;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.45)),(('甘氏45%(' + NUMTOSTR(甘氏45,2)) + ')')),COLOR0010FF;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.382)),(('★黄金38.2%(' + NUMTOSTR(黄382,2)) + ')')),colorFFFF;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.337)),(('黄甘33.7%(' + NUMTOSTR(黄甘337,2)) + ')')),colorFFFF;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.5)),(('黄金强弱分界(' + NUMTOSTR(黄500,2)) + ')')),COLOR0010FF;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.618)),(('★黄金61.8%(' + NUMTOSTR(黄618,2)) + ')')),colorFFFF;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.667)),(('黄甘66.7%(' + NUMTOSTR(黄甘667,2)) + ')')),colorFFFF;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.75)),(('江恩75%(' + NUMTOSTR(江75,2)) + ')')),colorDAFC8B;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.78)),(('江恩78%(' + NUMTOSTR(江78,2)) + ')')),colorDAFC8B;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.809)),(('黄金80.9%(' + NUMTOSTR(黄809,2)) + ')')),colorFFFF;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.85)),(('江恩85%(' + NUMTOSTR(江85,2)) + ')')),colorDAFC8B;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.9)),(('江恩90%(' + NUMTOSTR(江90,2)) + ')')),colorDAFC8B;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.999)),(('最高价¥(' + NUMTOSTR(HH,2)) + ')')),colorFF00FF;
DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.0000)),(('最低价¥(' + NUMTOSTR(LL,2)) + ')')),colorFFFF00;
LL+((HH-LL)*0.764),pointdot,linethick1,coloryellow;
DRAWTEXT(c>0 and ISLASTBAR=1,LL+((HH-LL)*0.764),' 0.764↑'),color009999;
LL+((HH-LL)*0.236),pointdot,linethick1,coloryellow;
DRAWTEXT(c>0 and ISLASTBAR=1,LL+((HH-LL)*0.236),' 0.236↑'),color009999;
Input:
左侧右移(5,0,100,1),
右侧左移(0,0,100,1),
开关(1,1,2,1),
N(30,1,1000,1),
M(5,1,365,1);
t1:=barpos=sysparam(2)+左侧右移;