【资料名称】:简睿模拟训练 —[简睿余玉]应用于建立通达信模拟操盘(原码 主副各一)介绍【资料描述】:
简睿模拟训练 —[简睿余玉]应用于建立通达信模拟操盘(原码 主副各一)
如果你用过飞狐的模拟训练,就知道练习是多么重要!
受通达信指标编写语句限制(应该说是自己水平所限 ),只有69根K线!
用法是:通过调整主副图参数 余玉{调为同一值} 来增加或减少主图K线根数与副图指标行进或后退!
图解:
原码:
{简睿K线模拟}
{简睿余玉 -之- K线模拟训练 主图}
{壹瓣杺埖 原创}
STICKLINE(C,CONST(FINDHIGH(H,2,250,1)),CONST(FINDLOW(L,2,250,1)),20,0)COLORAAAAAA;
简睿:MA(C,18),COLOR8E00E8;
CUR:=CURRBARSCOUNT;
TL0:=CONST(L);TL1:=CONST(REF(L,BARSLAST(CUR=1)+1));
TL2:=CONST(REF(L,BARSLAST(CUR=2)+1));TL3:=CONST(REF(L,BARSLAST(CUR=3)+1));
TL4:=CONST(REF(L,BARSLAST(CUR=4)+1));TL5:=CONST(REF(L,BARSLAST(CUR=5)+1));
TL6:=CONST(REF(L,BARSLAST(CUR=6)+1));TL7:=CONST(REF(L,BARSLAST(CUR=7)+1));
TL8:=CONST(REF(L,BARSLAST(CUR=8)+1));TL9:=CONST(REF(L,BARSLAST(CUR=9)+1));
TL10:=CONST(REF(L,BARSLAST(CUR=10)+1));TL11:=CONST(REF(L,BARSLAST(CUR=11)+1));
TL12:=CONST(REF(L,BARSLAST(CUR=12)+1));TL13:=CONST(REF(L,BARSLAST(CUR=13)+1));
TL14:=CONST(REF(L,BARSLAST(CUR=14)+1));TL15:=CONST(REF(L,BARSLAST(CUR=15)+1));
TL16:=CONST(REF(L,BARSLAST(CUR=16)+1));TL17:=CONST(REF(L,BARSLAST(CUR=17)+1));
TL18:=CONST(REF(L,BARSLAST(CUR=18)+1));TL19:=CONST(REF(L,BARSLAST(CUR=19)+1));
TL20:=CONST(REF(L,BARSLAST(CUR=20)+1));TL21:=CONST(REF(L,BARSLAST(CUR=21)+1));
TL22:=CONST(REF(L,BARSLAST(CUR=22)+1));TL23:=CONST(REF(L,BARSLAST(CUR=23)+1));
TL24:=CONST(REF(L,BARSLAST(CUR=24)+1));TL25:=CONST(REF(L,BARSLAST(CUR=25)+1));
TL26:=CONST(REF(L,BARSLAST(CUR=26)+1));TL27:=CONST(REF(L,BARSLAST(CUR=27)+1));
TL28:=CONST(REF(L,BARSLAST(CUR=28)+1));TL29:=CONST(REF(L,BARSLAST(CUR=29)+1));
TL30:=CONST(REF(L,BARSLAST(CUR=30)+1));TL31:=CONST(REF(L,BARSLAST(CUR=31)+1));
TL32:=CONST(REF(L,BARSLAST(CUR=32)+1));TL33:=CONST(REF(L,BARSLAST(CUR=33)+1));
TL34:=CONST(REF(L,BARSLAST(CUR=34)+1));TL35:=CONST(REF(L,BARSLAST(CUR=35)+1));
TL36:=CONST(REF(L,BARSLAST(CUR=36)+1));TL37:=CONST(REF(L,BARSLAST(CUR=37)+1));
TL38:=CONST(REF(L,BARSLAST(CUR=38)+1));TL39:=CONST(REF(L,BARSLAST(CUR=39)+1));
TL40:=CONST(REF(L,BARSLAST(CUR=40)+1));TL41:=CONST(REF(L,BARSLAST(CUR=41)+1));
TL42:=CONST(REF(L,BARSLAST(CUR=42)+1));TL43:=CONST(REF(L,BARSLAST(CUR=43)+1));
TL44:=CONST(REF(L,BARSLAST(CUR=44)+1));TL45:=CONST(REF(L,BARSLAST(CUR=45)+1));
TL46:=CONST(REF(L,BARSLAST(CUR=46)+1));TL47:=CONST(REF(L,BARSLAST(CUR=47)+1));
TL48:=CONST(REF(L,BARSLAST(CUR=48)+1));TL49:=CONST(REF(L,BARSLAST(CUR=49)+1));
TL50:=CONST(REF(L,BARSLAST(CUR=50)+1));TL51:=CONST(REF(L,BARSLAST(CUR=51)+1));
TL52:=CONST(REF(L,BARSLAST(CUR=52)+1));TL53:=CONST(REF(L,BARSLAST(CUR=53)+1));
TL54:=CONST(REF(L,BARSLAST(CUR=54)+1));TL55:=CONST(REF(L,BARSLAST(CUR=55)+1));
TL56:=CONST(REF(L,BARSLAST(CUR=56)+1));TL57:=CONST(REF(L,BARSLAST(CUR=57)+1));
TL58:=CONST(REF(L,BARSLAST(CUR=58)+1));TL59:=CONST(REF(L,BARSLAST(CUR=59)+1));
TL60:=CONST(REF(L,BARSLAST(CUR=60)+1));TL61:=CONST(REF(L,BARSLAST(CUR=61)+1));
TL62:=CONST(REF(L,BARSLAST(CUR=62)+1));TL63:=CONST(REF(L,BARSLAST(CUR=63)+1));
TL64:=CONST(REF(L,BARSLAST(CUR=64)+1));TL65:=CONST(REF(L,BARSLAST(CUR=65)+1));
TL66:=CONST(REF(L,BARSLAST(CUR=66)+1));TL67:=CONST(REF(L,BARSLAST(CUR=67)+1));
TL68:=CONST(REF(L,BARSLAST(CUR=68)+1));
TO0:=CONST(O);TO1:=CONST(REF(O,BARSLAST(CUR=1)+1));
TO2:=CONST(REF(O,BARSLAST(CUR=2)+1));TO3:=CONST(REF(O,BARSLAST(CUR=3)+1));
TO4:=CONST(REF(O,BARSLAST(CUR=4)+1));TO5:=CONST(REF(O,BARSLAST(CUR=5)+1));
TO6:=CONST(REF(O,BARSLAST(CUR=6)+1));TO7:=CONST(REF(O,BARSLAST(CUR=7)+1));
TO8:=CONST(REF(O,BARSLAST(CUR=8)+1));TO9:=CONST(REF(O,BARSLAST(CUR=9)+1));
TO10:=CONST(REF(O,BARSLAST(CUR=10)+1));TO11:=CONST(REF(O,BARSLAST(CUR=11)+1));
TO12:=CONST(REF(O,BARSLAST(CUR=12)+1));TO13:=CONST(REF(O,BARSLAST(CUR=13)+1));
TO14:=CONST(REF(O,BARSLAST(CUR=14)+1));TO15:=CONST(REF(O,BARSLAST(CUR=15)+1));
TO16:=CONST(REF(O,BARSLAST(CUR=16)+1));TO17:=CONST(REF(O,BARSLAST(CUR=17)+1));
TO18:=CONST(REF(O,BARSLAST(CUR=18)+1));TO19:=CONST(REF(O,BARSLAST(CUR=19)+1));
TO20:=CONST(REF(O,BARSLAST(CUR=20)+1));TO21:=CONST(REF(O,BARSLAST(CUR=21)+1));
TO22:=CONST(REF(O,BARSLAST(CUR=22)+1));TO23:=CONST(REF(O,BARSLAST(CUR=23)+1));
TO24:=CONST(REF(O,BARSLAST(CUR=24)+1));TO25:=CONST(REF(O,BARSLAST(CUR=25)+1));
TO26:=CONST(REF(O,BARSLAST(CUR=26)+1));TO27:=CONST(REF(O,BARSLAST(CUR=27)+1));
TO28:=CONST(REF(O,BARSLAST(CUR=28)+1));TO29:=CONST(REF(O,BARSLAST(CUR=29)+1));
TO30:=CONST(REF(O,BARSLAST(CUR=30)+1));TO31:=CONST(REF(O,BARSLAST(CUR=31)+1));
TO32:=CONST(REF(O,BARSLAST(CUR=32)+1));TO33:=CONST(REF(O,BARSLAST(CUR=33)+1));
TO34:=CONST(REF(O,BARSLAST(CUR=34)+1));TO35:=CONST(REF(O,BARSLAST(CUR=35)+1));
TO36:=CONST(REF(O,BARSLAST(CUR=36)+1));TO37:=CONST(REF(O,BARSLAST(CUR=37)+1));
TO38:=CONST(REF(O,BARSLAST(CUR=38)+1));TO39:=CONST(REF(O,BARSLAST(CUR=39)+1));
TO40:=CONST(REF(O,BARSLAST(CUR=40)+1));TO41:=CONST(REF(O,BARSLAST(CUR=41)+1));
TO42:=CONST(REF(O,BARSLAST(CUR=42)+1));TO43:=CONST(REF(O,BARSLAST(CUR=43)+1));
TO44:=CONST(REF(O,BARSLAST(CUR=44)+1));TO45:=CONST(REF(O,BARSLAST(CUR=45)+1));
TO46:=CONST(REF(O,BARSLAST(CUR=46)+1));TO47:=CONST(REF(O,BARSLAST(CUR=47)+1));
TO48:=CONST(REF(O,BARSLAST(CUR=48)+1));TO49:=CONST(REF(O,BARSLAST(CUR=49)+1));
TO50:=CONST(REF(O,BARSLAST(CUR=50)+1));TO51:=CONST(REF(O,BARSLAST(CUR=51)+1));
TO52:=CONST(REF(O,BARSLAST(CUR=52)+1));TO53:=CONST(REF(O,BARSLAST(CUR=53)+1));
TO54:=CONST(REF(O,BARSLAST(CUR=54)+1));TO55:=CONST(REF(O,BARSLAST(CUR=55)+1));
TO56:=CONST(REF(O,BARSLAST(CUR=56)+1));TO57:=CONST(REF(O,BARSLAST(CUR=57)+1));
TO58:=CONST(REF(O,BARSLAST(CUR=58)+1));TO59:=CONST(REF(O,BARSLAST(CUR=59)+1));
TO60:=CONST(REF(O,BARSLAST(CUR=60)+1));TO61:=CONST(REF(O,BARSLAST(CUR=61)+1));
TO62:=CONST(REF(O,BARSLAST(CUR=62)+1));TO63:=CONST(REF(O,BARSLAST(CUR=63)+1));
TO64:=CONST(REF(O,BARSLAST(CUR=64)+1));TO65:=CONST(REF(O,BARSLAST(CUR=65)+1));
TO66:=CONST(REF(O,BARSLAST(CUR=66)+1));TO67:=CONST(REF(O,BARSLAST(CUR=67)+1));
TO68:=CONST(REF(O,BARSLAST(CUR=68)+1));
TH0:=CONST(H);TH1:=CONST(REF(H,BARSLAST(CUR=1)+1));
TH2:=CONST(REF(H,BARSLAST(CUR=2)+1));TH3:=CONST(REF(H,BARSLAST(CUR=3)+1));
TH4:=CONST(REF(H,BARSLAST(CUR=4)+1));TH5:=CONST(REF(H,BARSLAST(CUR=5)+1));
TH6:=CONST(REF(H,BARSLAST(CUR=6)+1));TH7:=CONST(REF(H,BARSLAST(CUR=7)+1));
TH8:=CONST(REF(H,BARSLAST(CUR=8)+1));TH9:=CONST(REF(H,BARSLAST(CUR=9)+1));
TH10:=CONST(REF(H,BARSLAST(CUR=10)+1));TH11:=CONST(REF(H,BARSLAST(CUR=11)+1));
TH12:=CONST(REF(H,BARSLAST(CUR=12)+1));TH13:=CONST(REF(H,BARSLAST(CUR=13)+1));
TH14:=CONST(REF(H,BARSLAST(CUR=14)+1));TH15:=CONST(REF(H,BARSLAST(CUR=15)+1));
TH16:=CONST(REF(H,BARSLAST(CUR=16)+1));TH17:=CONST(REF(H,BARSLAST(CUR=17)+1));
TH18:=CONST(REF(H,BARSLAST(CUR=18)+1));TH19:=CONST(REF(H,BARSLAST(CUR=19)+1));
TH20:=CONST(REF(H,BARSLAST(CUR=20)+1));TH21:=CONST(REF(H,BARSLAST(CUR=21)+1));
TH22:=CONST(REF(H,BARSLAST(CUR=22)+1));TH23:=CONST(REF(H,BARSLAST(CUR=23)+1));
TH24:=CONST(REF(H,BARSLAST(CUR=24)+1));TH25:=CONST(REF(H,BARSLAST(CUR=25)+1));
TH26:=CONST(REF(H,BARSLAST(CUR=26)+1));TH27:=CONST(REF(H,BARSLAST(CUR=27)+1));
TH28:=CONST(REF(H,BARSLAST(CUR=28)+1));TH29:=CONST(REF(H,BARSLAST(CUR=29)+1));
TH30:=CONST(REF(H,BARSLAST(CUR=30)+1));TH31:=CONST(REF(H,BARSLAST(CUR=31)+1));
TH32:=CONST(REF(H,BARSLAST(CUR=32)+1));TH33:=CONST(REF(H,BARSLAST(CUR=33)+1));
TH34:=CONST(REF(H,BARSLAST(CUR=34)+1));TH35:=CONST(REF(H,BARSLAST(CUR=35)+1));
TH36:=CONST(REF(H,BARSLAST(CUR=36)+1));TH37:=CONST(REF(H,BARSLAST(CUR=37)+1));
TH38:=CONST(REF(H,BARSLAST(CUR=38)+1));TH39:=CONST(REF(H,BARSLAST(CUR=39)+1));
TH40:=CONST(REF(H,BARSLAST(CUR=40)+1));TH41:=CONST(REF(H,BARSLAST(CUR=41)+1));
TH42:=CONST(REF(H,BARSLAST(CUR=42)+1));TH43:=CONST(REF(H,BARSLAST(CUR=43)+1));
TH44:=CONST(REF(H,BARSLAST(CUR=44)+1));TH45:=CONST(REF(H,BARSLAST(CUR=45)+1));
TH46:=CONST(REF(H,BARSLAST(CUR=46)+1));TH47:=CONST(REF(H,BARSLAST(CUR=47)+1));
TH48:=CONST(REF(H,BARSLAST(CUR=48)+1));TH49:=CONST(REF(H,BARSLAST(CUR=49)+1));
TH50:=CONST(REF(H,BARSLAST(CUR=50)+1));TH51:=CONST(REF(H,BARSLAST(CUR=51)+1));
TH52:=CONST(REF(H,BARSLAST(CUR=52)+1));TH53:=CONST(REF(H,BARSLAST(CUR=53)+1));
TH54:=CONST(REF(H,BARSLAST(CUR=54)+1));TH55:=CONST(REF(H,BARSLAST(CUR=55)+1));
TH56:=CONST(REF(H,BARSLAST(CUR=56)+1));TH57:=CONST(REF(H,BARSLAST(CUR=57)+1));
TH58:=CONST(REF(H,BARSLAST(CUR=58)+1));TH59:=CONST(REF(H,BARSLAST(CUR=59)+1));
TH60:=CONST(REF(H,BARSLAST(CUR=60)+1));TH61:=CONST(REF(H,BARSLAST(CUR=61)+1));
TH62:=CONST(REF(H,BARSLAST(CUR=62)+1));TH63:=CONST(REF(H,BARSLAST(CUR=63)+1));
TH64:=CONST(REF(H,BARSLAST(CUR=64)+1));TH65:=CONST(REF(H,BARSLAST(CUR=65)+1));
TH66:=CONST(REF(H,BARSLAST(CUR=66)+1));TH67:=CONST(REF(H,BARSLAST(CUR=67)+1));
TH68:=CONST(REF(H,BARSLAST(CUR=68)+1));
TC0:=CONST(C);TC1:=CONST(REF(C,BARSLAST(CUR=1)+1));
TC2:=CONST(REF(C,BARSLAST(CUR=2)+1));TC3:=CONST(REF(C,BARSLAST(CUR=3)+1));
TC4:=CONST(REF(C,BARSLAST(CUR=4)+1));TC5:=CONST(REF(C,BARSLAST(CUR=5)+1));
TC6:=CONST(REF(C,BARSLAST(CUR=6)+1));TC7:=CONST(REF(C,BARSLAST(CUR=7)+1));
TC8:=CONST(REF(C,BARSLAST(CUR=8)+1));TC9:=CONST(REF(C,BARSLAST(CUR=9)+1));
TC10:=CONST(REF(C,BARSLAST(CUR=10)+1));TC11:=CONST(REF(C,BARSLAST(CUR=11)+1));
TC12:=CONST(REF(C,BARSLAST(CUR=12)+1));TC13:=CONST(REF(C,BARSLAST(CUR=13)+1));
TC14:=CONST(REF(C,BARSLAST(CUR=14)+1));TC15:=CONST(REF(C,BARSLAST(CUR=15)+1));
TC16:=CONST(REF(C,BARSLAST(CUR=16)+1));TC17:=CONST(REF(C,BARSLAST(CUR=17)+1));
TC18:=CONST(REF(C,BARSLAST(CUR=18)+1));TC19:=CONST(REF(C,BARSLAST(CUR=19)+1));
TC20:=CONST(REF(C,BARSLAST(CUR=20)+1));TC21:=CONST(REF(C,BARSLAST(CUR=21)+1));
TC22:=CONST(REF(C,BARSLAST(CUR=22)+1));TC23:=CONST(REF(C,BARSLAST(CUR=23)+1));
TC24:=CONST(REF(C,BARSLAST(CUR=24)+1));TC25:=CONST(REF(C,BARSLAST(CUR=25)+1));
TC26:=CONST(REF(C,BARSLAST(CUR=26)+1));TC27:=CONST(REF(C,BARSLAST(CUR=27)+1));
TC28:=CONST(REF(C,BARSLAST(CUR=28)+1));TC29:=CONST(REF(C,BARSLAST(CUR=29)+1));
TC30:=CONST(REF(C,BARSLAST(CUR=30)+1));TC31:=CONST(REF(C,BARSLAST(CUR=31)+1));
TC32:=CONST(REF(C,BARSLAST(CUR=32)+1));TC33:=CONST(REF(C,BARSLAST(CUR=33)+1));
TC34:=CONST(REF(C,BARSLAST(CUR=34)+1));TC35:=CONST(REF(C,BARSLAST(CUR=35)+1));
TC36:=CONST(REF(C,BARSLAST(CUR=36)+1));TC37:=CONST(REF(C,BARSLAST(CUR=37)+1));
TC38:=CONST(REF(C,BARSLAST(CUR=38)+1));TC39:=CONST(REF(C,BARSLAST(CUR=39)+1));
TC40:=CONST(REF(C,BARSLAST(CUR=40)+1));TC41:=CONST(REF(C,BARSLAST(CUR=41)+1));
TC42:=CONST(REF(C,BARSLAST(CUR=42)+1));TC43:=CONST(REF(C,BARSLAST(CUR=43)+1));
TC44:=CONST(REF(C,BARSLAST(CUR=44)+1));TC45:=CONST(REF(C,BARSLAST(CUR=45)+1));
TC46:=CONST(REF(C,BARSLAST(CUR=46)+1));TC47:=CONST(REF(C,BARSLAST(CUR=47)+1));
TC48:=CONST(REF(C,BARSLAST(CUR=48)+1));TC49:=CONST(REF(C,BARSLAST(CUR=49)+1));
TC50:=CONST(REF(C,BARSLAST(CUR=50)+1));TC51:=CONST(REF(C,BARSLAST(CUR=51)+1));
TC52:=CONST(REF(C,BARSLAST(CUR=52)+1));TC53:=CONST(REF(C,BARSLAST(CUR=53)+1));
TC54:=CONST(REF(C,BARSLAST(CUR=54)+1));TC55:=CONST(REF(C,BARSLAST(CUR=55)+1));
TC56:=CONST(REF(C,BARSLAST(CUR=56)+1));TC57:=CONST(REF(C,BARSLAST(CUR=57)+1));
TC58:=CONST(REF(C,BARSLAST(CUR=58)+1));TC59:=CONST(REF(C,BARSLAST(CUR=59)+1));
TC60:=CONST(REF(C,BARSLAST(CUR=60)+1));TC61:=CONST(REF(C,BARSLAST(CUR=61)+1));
TC62:=CONST(REF(C,BARSLAST(CUR=62)+1));TC63:=CONST(REF(C,BARSLAST(CUR=63)+1));
TC64:=CONST(REF(C,BARSLAST(CUR=64)+1));TC65:=CONST(REF(C,BARSLAST(CUR=65)+1));
TC66:=CONST(REF(C,BARSLAST(CUR=66)+1));TC67:=CONST(REF(C,BARSLAST(CUR=67)+1));
TC68:=CONST(REF(C,BARSLAST(CUR=68)+1));
N:=余玉; {-59 2 -59}
HGHG:=IF(CUR=(N+40),TH41,IF(CUR=(N+41),TH42,IF(CUR=(N+42),TH43,IF(CUR=(N+43),TH44,
IF(CUR=(N+44),TH45,IF(CUR=(N+45),TH46,IF(CUR=(N+46),TH47,IF(CUR=(N+47),TH48,
IF(CUR=(N+48),TH49,IF(CUR=(N+49),TH50,IF(CUR=(N+50),TH51,IF(CUR=(N+51),TH52,
IF(CUR=(N+52),TH53,IF(CUR=(N+53),TH54,IF(CUR=(N+54),TH55,IF(CUR=(N+55),TH56,
IF(CUR=(N+56),TH57,IF(CUR=(N+57),TH58,IF(CUR=(N+58),TH59,IF(CUR=(N+59),TH60,
IF(CUR=(N+60),TH61,IF(CUR=(N+61),TH62,IF(CUR=(N+62),TH63,IF(CUR=(N+63),TH64,
IF(CUR=(N+64),TH65,IF(CUR=(N+65),TH66,IF(CUR=(N+66),TH67,IF(CUR=(N+67),TH68,
DRAWNULL))))))))))))))))))))))))))));
HGH:=IF(CUR=N-1,TH0,IF(CUR=N,TH1,IF(CUR=(N+1),TH2,IF(CUR=(N+2),TH3,IF(CUR=(N+3),TH4,
IF(CUR=(N+4),TH5,IF(CUR=(N+5),TH6,IF(CUR=(N+6),TH7,IF(CUR=(N+7),TH8,
IF(CUR=(N+8),TH9,IF(CUR=(N+9),TH10,IF(CUR=(N+10),TH11,IF(CUR=(N+11),TH12,
IF(CUR=(N+12),TH13,IF(CUR=(N+13),TH14,IF(CUR=(N+14),TH15,IF(CUR=(N+15),TH16,
IF(CUR=(N+16),TH17,IF(CUR=(N+17),TH18,IF(CUR=(N+18),TH19,IF(CUR=(N+19),TH20,
IF(CUR=(N+20),TH21,IF(CUR=(N+21),TH22,IF(CUR=(N+22),TH23,IF(CUR=(N+23),TH24,
IF(CUR=(N+24),TH25,IF(CUR=(N+25),TH26,IF(CUR=(N+26),TH27,IF(CUR=(N+27),TH28,
IF(CUR=(N+28),TH29,IF(CUR=(N+29),TH30,IF(CUR=(N+30),TH31,IF(CUR=(N+31),TH32,
IF(CUR=(N+32),TH33,IF(CUR=(N+33),TH34,IF(CUR=(N+34),TH35,IF(CUR=(N+35),TH36,
IF(CUR=(N+36),TH37,IF(CUR=(N+37),TH38,IF(CUR=(N+38),TH39,IF(CUR=(N+39),TH40,
HGHG)))))))))))))))))))))))))))))))))))))))));
OENO:=IF(CUR=(N+40),TO41,IF(CUR=(N+41),TO42,IF(CUR=(N+42),TO43,IF(CUR=(N+43),TO44,
IF(CUR=(N+44),TO45,IF(CUR=(N+45),TO46,IF(CUR=(N+46),TO47,IF(CUR=(N+47),TO48,
IF(CUR=(N+48),TO49,IF(CUR=(N+49),TO50,IF(CUR=(N+50),TO51,IF(CUR=(N+51),TO52,
IF(CUR=(N+52),TO53,IF(CUR=(N+53),TO54,IF(CUR=(N+54),TO55,IF(CUR=(N+55),TO56,
IF(CUR=(N+56),TO57,IF(CUR=(N+57),TO58,IF(CUR=(N+58),TO59,IF(CUR=(N+59),TO60,
IF(CUR=(N+60),TO61,IF(CUR=(N+61),TO62,IF(CUR=(N+62),TO63,IF(CUR=(N+63),TO64,
IF(CUR=(N+64),TO65,IF(CUR=(N+65),TO66,IF(CUR=(N+66),TO67,IF(CUR=(N+67),TO68,
DRAWNULL))))))))))))))))))))))))))));
OEN:=IF(CUR=N-1,TO0,IF(CUR=N,TO1,IF(CUR=(N+1),TO2,IF(CUR=(N+2),TO3,IF(CUR=(N+3),TO4,
IF(CUR=(N+4),TO5,IF(CUR=(N+5),TO6,IF(CUR=(N+6),TO7,IF(CUR=(N+7),TO8,
IF(CUR=(N+8),TO9,IF(CUR=(N+9),TO10,IF(CUR=(N+10),TO11,IF(CUR=(N+11),TO12,
IF(CUR=(N+12),TO13,IF(CUR=(N+13),TO14,IF(CUR=(N+14),TO15,IF(CUR=(N+15),TO16,
IF(CUR=(N+16),TO17,IF(CUR=(N+17),TO18,IF(CUR=(N+18),TO19,IF(CUR=(N+19),TO20,
IF(CUR=(N+20),TO21,IF(CUR=(N+21),TO22,IF(CUR=(N+22),TO23,IF(CUR=(N+23),TO24,
IF(CUR=(N+24),TO25,IF(CUR=(N+25),TO26,IF(CUR=(N+26),TO27,IF(CUR=(N+27),TO28,
IF(CUR=(N+28),TO29,IF(CUR=(N+29),TO30,IF(CUR=(N+30),TO31,IF(CUR=(N+31),TO32,
IF(CUR=(N+32),TO33,IF(CUR=(N+33),TO34,IF(CUR=(N+34),TO35,IF(CUR=(N+35),TO36,
IF(CUR=(N+36),TO37,IF(CUR=(N+37),TO38,IF(CUR=(N+38),TO39,IF(CUR=(N+39),TO40,
OENO)))))))))))))))))))))))))))))))))))))))));
LWL:=IF(CUR=(N+40),TL41,IF(CUR=(N+41),TL42,IF(CUR=(N+42),TL43,IF(CUR=(N+43),TL44,
IF(CUR=(N+44),TL45,IF(CUR=(N+45),TL46,IF(CUR=(N+46),TL47,IF(CUR=(N+47),TL48,
IF(CUR=(N+48),TL49,IF(CUR=(N+49),TL50,IF(CUR=(N+50),TL51,IF(CUR=(N+51),TL52,
IF(CUR=(N+52),TL53,IF(CUR=(N+53),TL54,IF(CUR=(N+54),TL55,IF(CUR=(N+55),TL56,
IF(CUR=(N+56),TL57,IF(CUR=(N+57),TL58,IF(CUR=(N+58),TL59,IF(CUR=(N+59),TL60,
IF(CUR=(N+60),TL61,IF(CUR=(N+61),TL62,IF(CUR=(N+62),TL63,IF(CUR=(N+63),TL64,
IF(CUR=(N+64),TL65,IF(CUR=(N+65),TL66,IF(CUR=(N+66),TL67,IF(CUR=(N+67),TL68,
DRAWNULL))))))))))))))))))))))))))));
LW:=IF(CUR=N-1,TL0,IF(CUR=N,TL1,IF(CUR=(N+1),TL2,IF(CUR=(N+2),TL3,IF(CUR=(N+3),TL4,
IF(CUR=(N+4),TL5,IF(CUR=(N+5),TL6,IF(CUR=(N+6),TL7,IF(CUR=(N+7),TL8,
IF(CUR=(N+8),TL9,IF(CUR=(N+9),TL10,IF(CUR=(N+10),TL11,IF(CUR=(N+11),TL12,
IF(CUR=(N+12),TL13,IF(CUR=(N+13),TL14,IF(CUR=(N+14),TL15,IF(CUR=(N+15),TL16,
IF(CUR=(N+16),TL17,IF(CUR=(N+17),TL18,IF(CUR=(N+18),TL19,IF(CUR=(N+19),TL20,
IF(CUR=(N+20),TL21,IF(CUR=(N+21),TL22,IF(CUR=(N+22),TL23,IF(CUR=(N+23),TL24,
IF(CUR=(N+24),TL25,IF(CUR=(N+25),TL26,IF(CUR=(N+26),TL27,IF(CUR=(N+27),TL28,
IF(CUR=(N+28),TL29,IF(CUR=(N+29),TL30,IF(CUR=(N+30),TL31,IF(CUR=(N+31),TL32,
IF(CUR=(N+32),TL33,IF(CUR=(N+33),TL34,IF(CUR=(N+34),TL35,IF(CUR=(N+35),TL36,
IF(CUR=(N+36),TL37,IF(CUR=(N+37),TL38,IF(CUR=(N+38),TL39,IF(CUR=(N+39),TL40,
LWL)))))))))))))))))))))))))))))))))))))))));
COEC:=IF(CUR=(N+40),TC41,IF(CUR=(N+41),TC42,IF(CUR=(N+42),TC43,IF(CUR=(N+43),TC44,
IF(CUR=(N+44),TC45,IF(CUR=(N+45),TC46,IF(CUR=(N+46),TC47,IF(CUR=(N+47),TC48,
IF(CUR=(N+48),TC49,IF(CUR=(N+49),TC50,IF(CUR=(N+50),TC51,IF(CUR=(N+51),TC52,
IF(CUR=(N+52),TC53,IF(CUR=(N+53),TC54,IF(CUR=(N+54),TC55,IF(CUR=(N+55),TC56,
IF(CUR=(N+56),TC57,IF(CUR=(N+57),TC58,IF(CUR=(N+58),TC59,IF(CUR=(N+59),TC60,
IF(CUR=(N+60),TC61,IF(CUR=(N+61),TC62,IF(CUR=(N+62),TC63,IF(CUR=(N+63),TC64,
IF(CUR=(N+64),TC65,IF(CUR=(N+65),TC66,IF(CUR=(N+66),TC67,IF(CUR=(N+67),TC68,
DRAWNULL))))))))))))))))))))))))))));
COE:=IF(CUR=N-1,TC0,IF(CUR=N,TC1,IF(CUR=(N+1),TC2,IF(CUR=(N+2),TC3,IF(CUR=(N+3),TC4,
IF(CUR=(N+4),TC5,IF(CUR=(N+5),TC6,IF(CUR=(N+6),TC7,IF(CUR=(N+7),TC8,
IF(CUR=(N+8),TC9,IF(CUR=(N+9),TC10,IF(CUR=(N+10),TC11,IF(CUR=(N+11),TC12,
IF(CUR=(N+12),TC13,IF(CUR=(N+13),TC14,IF(CUR=(N+14),TC15,IF(CUR=(N+15),TC16,
IF(CUR=(N+16),TC17,IF(CUR=(N+17),TC18,IF(CUR=(N+18),TC19,IF(CUR=(N+19),TC20,
IF(CUR=(N+20),TC21,IF(CUR=(N+21),TC22,IF(CUR=(N+22),TC23,IF(CUR=(N+23),TC24,
IF(CUR=(N+24),TC25,IF(CUR=(N+25),TC26,IF(CUR=(N+26),TC27,IF(CUR=(N+27),TC28,
IF(CUR=(N+28),TC29,IF(CUR=(N+29),TC30,IF(CUR=(N+30),TC31,IF(CUR=(N+31),TC32,
IF(CUR=(N+32),TC33,IF(CUR=(N+33),TC34,IF(CUR=(N+34),TC35,IF(CUR=(N+35),TC36,
IF(CUR=(N+36),TC37,IF(CUR=(N+37),TC38,IF(CUR=(N+38),TC39,IF(CUR=(N+39),TC40,
COEC)))))))))))))))))))))))))))))))))))))))));
DRAWKLINE(HGH,OEN,LW,COE);
{简睿指标模拟}
{简睿余玉 -之- 指标模拟训练 副图}
{壹瓣杺埖 原创}
LL:=IF(指标=1,"KDJ.J",IF(指标=2,"MACD.DIF",IF(指标=3,"CCI.CCI",IF(指标=4,"WR.WR1",
IF(指标=5,"RSI.RSI1",IF(指标=6,"BIAS.BIAS1",IF(指标=7,"ROC.ROC","OSC.OSC")))))));
OO:=IF(指标=1,"KDJ.K",IF(指标=2,"MACD.DEA",IF(指标=3,100,IF(指标=4,"WR.WR2",
IF(指标=5,"RSI.RSI2",IF(指标=6,"BIAS.BIAS2",IF(指标=7,-6.5,"OSC.MAOSC")))))));
HH:=IF(指标=1,"KDJ.D",IF(指标=2,"MACD.MACD",IF(指标=3,-100,IF(指标=4,50,
IF(指标=5,"RSI.RSI3",IF(指标=6,"BIAS.BIAS3",IF(指标=7,"ROC.MAROC",0)))))));
CUR:=CURRBARSCOUNT;
DRAWTEXT(指标=1&&CUR=18,LL,'KDJ'); DRAWTEXT(指标=2&&CUR=18,LL,'MACD');
DRAWTEXT(指标=3&&CUR=18,LL,'CCI'); DRAWTEXT(指标=4&&CUR=18,LL,'WR');
DRAWTEXT(指标=5&&CUR=18,LL,'RSI'); DRAWTEXT(指标=6&&CUR=18,LL,'BIAS');
DRAWTEXT(指标=7&&CUR=18,LL,'ROC'); DRAWTEXT(指标=8&&CUR=18,LL,'OSC');
TL0:=CONST(LL);TL1:=CONST(REF(LL,BARSLAST(CUR=1)+1));
TL2:=CONST(REF(LL,BARSLAST(CUR=2)+1));TL3:=CONST(REF(LL,BARSLAST(CUR=3)+1));
TL4:=CONST(REF(LL,BARSLAST(CUR=4)+1));TL5:=CONST(REF(LL,BARSLAST(CUR=5)+1));
TL6:=CONST(REF(LL,BARSLAST(CUR=6)+1));TL7:=CONST(REF(LL,BARSLAST(CUR=7)+1));
TL8:=CONST(REF(LL,BARSLAST(CUR=8)+1));TL9:=CONST(REF(LL,BARSLAST(CUR=9)+1));
TL10:=CONST(REF(LL,BARSLAST(CUR=10)+1));TL11:=CONST(REF(LL,BARSLAST(CUR=11)+1));
TL12:=CONST(REF(LL,BARSLAST(CUR=12)+1));TL13:=CONST(REF(LL,BARSLAST(CUR=13)+1));
TL14:=CONST(REF(LL,BARSLAST(CUR=14)+1));TL15:=CONST(REF(LL,BARSLAST(CUR=15)+1));
TL16:=CONST(REF(LL,BARSLAST(CUR=16)+1));TL17:=CONST(REF(LL,BARSLAST(CUR=17)+1));
TL18:=CONST(REF(LL,BARSLAST(CUR=18)+1));TL19:=CONST(REF(LL,BARSLAST(CUR=19)+1));
TL20:=CONST(REF(LL,BARSLAST(CUR=20)+1));TL21:=CONST(REF(LL,BARSLAST(CUR=21)+1));
TL22:=CONST(REF(LL,BARSLAST(CUR=22)+1));TL23:=CONST(REF(LL,BARSLAST(CUR=23)+1));
TL24:=CONST(REF(LL,BARSLAST(CUR=24)+1));TL25:=CONST(REF(LL,BARSLAST(CUR=25)+1));
TL26:=CONST(REF(LL,BARSLAST(CUR=26)+1));TL27:=CONST(REF(LL,BARSLAST(CUR=27)+1));
TL28:=CONST(REF(LL,BARSLAST(CUR=28)+1));TL29:=CONST(REF(LL,BARSLAST(CUR=29)+1));
TL30:=CONST(REF(LL,BARSLAST(CUR=30)+1));TL31:=CONST(REF(LL,BARSLAST(CUR=31)+1));
TL32:=CONST(REF(LL,BARSLAST(CUR=32)+1));TL33:=CONST(REF(LL,BARSLAST(CUR=33)+1));
TL34:=CONST(REF(LL,BARSLAST(CUR=34)+1));TL35:=CONST(REF(LL,BARSLAST(CUR=35)+1));
TL36:=CONST(REF(LL,BARSLAST(CUR=36)+1));TL37:=CONST(REF(LL,BARSLAST(CUR=37)+1));
TL38:=CONST(REF(LL,BARSLAST(CUR=38)+1));TL39:=CONST(REF(LL,BARSLAST(CUR=39)+1));
TL40:=CONST(REF(LL,BARSLAST(CUR=40)+1));TL41:=CONST(REF(LL,BARSLAST(CUR=41)+1));
TL42:=CONST(REF(LL,BARSLAST(CUR=42)+1));TL43:=CONST(REF(LL,BARSLAST(CUR=43)+1));
TL44:=CONST(REF(LL,BARSLAST(CUR=44)+1));TL45:=CONST(REF(LL,BARSLAST(CUR=45)+1));
TL46:=CONST(REF(LL,BARSLAST(CUR=46)+1));TL47:=CONST(REF(LL,BARSLAST(CUR=47)+1));
TL48:=CONST(REF(LL,BARSLAST(CUR=48)+1));TL49:=CONST(REF(LL,BARSLAST(CUR=49)+1));
TL50:=CONST(REF(LL,BARSLAST(CUR=50)+1));TL51:=CONST(REF(LL,BARSLAST(CUR=51)+1));
TL52:=CONST(REF(LL,BARSLAST(CUR=52)+1));TL53:=CONST(REF(LL,BARSLAST(CUR=53)+1));
TL54:=CONST(REF(LL,BARSLAST(CUR=54)+1));TL55:=CONST(REF(LL,BARSLAST(CUR=55)+1));
TL56:=CONST(REF(LL,BARSLAST(CUR=56)+1));TL57:=CONST(REF(LL,BARSLAST(CUR=57)+1));
TL58:=CONST(REF(LL,BARSLAST(CUR=58)+1));TL59:=CONST(REF(LL,BARSLAST(CUR=59)+1));
TL60:=CONST(REF(LL,BARSLAST(CUR=60)+1));TL61:=CONST(REF(LL,BARSLAST(CUR=61)+1));
TL62:=CONST(REF(LL,BARSLAST(CUR=62)+1));TL63:=CONST(REF(LL,BARSLAST(CUR=63)+1));
TL64:=CONST(REF(LL,BARSLAST(CUR=64)+1));TL65:=CONST(REF(LL,BARSLAST(CUR=65)+1));
TL66:=CONST(REF(LL,BARSLAST(CUR=66)+1));TL67:=CONST(REF(LL,BARSLAST(CUR=67)+1));
TL68:=CONST(REF(LL,BARSLAST(CUR=68)+1));
TO0:=CONST(OO);TO1:=CONST(REF(OO,BARSLAST(CUR=1)+1));
TO2:=CONST(REF(OO,BARSLAST(CUR=2)+1));TO3:=CONST(REF(OO,BARSLAST(CUR=3)+1));
TO4:=CONST(REF(OO,BARSLAST(CUR=4)+1));TO5:=CONST(REF(OO,BARSLAST(CUR=5)+1));
TO6:=CONST(REF(OO,BARSLAST(CUR=6)+1));TO7:=CONST(REF(OO,BARSLAST(CUR=7)+1));
TO8:=CONST(REF(OO,BARSLAST(CUR=8)+1));TO9:=CONST(REF(OO,BARSLAST(CUR=9)+1));
TO10:=CONST(REF(OO,BARSLAST(CUR=10)+1));TO11:=CONST(REF(OO,BARSLAST(CUR=11)+1));
TO12:=CONST(REF(OO,BARSLAST(CUR=12)+1));TO13:=CONST(REF(OO,BARSLAST(CUR=13)+1));
TO14:=CONST(REF(OO,BARSLAST(CUR=14)+1));TO15:=CONST(REF(OO,BARSLAST(CUR=15)+1));
TO16:=CONST(REF(OO,BARSLAST(CUR=16)+1));TO17:=CONST(REF(OO,BARSLAST(CUR=17)+1));
TO18:=CONST(REF(OO,BARSLAST(CUR=18)+1));TO19:=CONST(REF(OO,BARSLAST(CUR=19)+1));
TO20:=CONST(REF(OO,BARSLAST(CUR=20)+1));TO21:=CONST(REF(OO,BARSLAST(CUR=21)+1));
TO22:=CONST(REF(OO,BARSLAST(CUR=22)+1));TO23:=CONST(REF(OO,BARSLAST(CUR=23)+1));
TO24:=CONST(REF(OO,BARSLAST(CUR=24)+1));TO25:=CONST(REF(OO,BARSLAST(CUR=25)+1));
TO26:=CONST(REF(OO,BARSLAST(CUR=26)+1));TO27:=CONST(REF(OO,BARSLAST(CUR=27)+1));
TO28:=CONST(REF(OO,BARSLAST(CUR=28)+1));TO29:=CONST(REF(OO,BARSLAST(CUR=29)+1));
TO30:=CONST(REF(OO,BARSLAST(CUR=30)+1));TO31:=CONST(REF(OO,BARSLAST(CUR=31)+1));
TO32:=CONST(REF(OO,BARSLAST(CUR=32)+1));TO33:=CONST(REF(OO,BARSLAST(CUR=33)+1));
TO34:=CONST(REF(OO,BARSLAST(CUR=34)+1));TO35:=CONST(REF(OO,BARSLAST(CUR=35)+1));
TO36:=CONST(REF(OO,BARSLAST(CUR=36)+1));TO37:=CONST(REF(OO,BARSLAST(CUR=37)+1));
TO38:=CONST(REF(OO,BARSLAST(CUR=38)+1));TO39:=CONST(REF(OO,BARSLAST(CUR=39)+1));
TO40:=CONST(REF(OO,BARSLAST(CUR=40)+1));TO41:=CONST(REF(OO,BARSLAST(CUR=41)+1));
TO42:=CONST(REF(OO,BARSLAST(CUR=42)+1));TO43:=CONST(REF(OO,BARSLAST(CUR=43)+1));
TO44:=CONST(REF(OO,BARSLAST(CUR=44)+1));TO45:=CONST(REF(OO,BARSLAST(CUR=45)+1));
TO46:=CONST(REF(OO,BARSLAST(CUR=46)+1));TO47:=CONST(REF(OO,BARSLAST(CUR=47)+1));
TO48:=CONST(REF(OO,BARSLAST(CUR=48)+1));TO49:=CONST(REF(OO,BARSLAST(CUR=49)+1));
TO50:=CONST(REF(OO,BARSLAST(CUR=50)+1));TO51:=CONST(REF(OO,BARSLAST(CUR=51)+1));
TO52:=CONST(REF(OO,BARSLAST(CUR=52)+1));TO53:=CONST(REF(OO,BARSLAST(CUR=53)+1));
TO54:=CONST(REF(OO,BARSLAST(CUR=54)+1));TO55:=CONST(REF(OO,BARSLAST(CUR=55)+1));
TO56:=CONST(REF(OO,BARSLAST(CUR=56)+1));TO57:=CONST(REF(OO,BARSLAST(CUR=57)+1));
TO58:=CONST(REF(OO,BARSLAST(CUR=58)+1));TO59:=CONST(REF(OO,BARSLAST(CUR=59)+1));
TO60:=CONST(REF(OO,BARSLAST(CUR=60)+1));TO61:=CONST(REF(OO,BARSLAST(CUR=61)+1));
TO62:=CONST(REF(OO,BARSLAST(CUR=62)+1));TO63:=CONST(REF(OO,BARSLAST(CUR=63)+1));
TO64:=CONST(REF(OO,BARSLAST(CUR=64)+1));TO65:=CONST(REF(OO,BARSLAST(CUR=65)+1));
TO66:=CONST(REF(OO,BARSLAST(CUR=66)+1));TO67:=CONST(REF(OO,BARSLAST(CUR=67)+1));
TO68:=CONST(REF(OO,BARSLAST(CUR=68)+1));
TH0:=CONST(HH);TH1:=CONST(REF(HH,BARSLAST(CUR=1)+1));
TH2:=CONST(REF(HH,BARSLAST(CUR=2)+1));TH3:=CONST(REF(HH,BARSLAST(CUR=3)+1));
TH4:=CONST(REF(HH,BARSLAST(CUR=4)+1));TH5:=CONST(REF(HH,BARSLAST(CUR=5)+1));
TH6:=CONST(REF(HH,BARSLAST(CUR=6)+1));TH7:=CONST(REF(HH,BARSLAST(CUR=7)+1));
TH8:=CONST(REF(HH,BARSLAST(CUR=8)+1));TH9:=CONST(REF(HH,BARSLAST(CUR=9)+1));
TH10:=CONST(REF(HH,BARSLAST(CUR=10)+1));TH11:=CONST(REF(HH,BARSLAST(CUR=11)+1));
TH12:=CONST(REF(HH,BARSLAST(CUR=12)+1));TH13:=CONST(REF(HH,BARSLAST(CUR=13)+1));
TH14:=CONST(REF(HH,BARSLAST(CUR=14)+1));TH15:=CONST(REF(HH,BARSLAST(CUR=15)+1));
TH16:=CONST(REF(HH,BARSLAST(CUR=16)+1));TH17:=CONST(REF(HH,BARSLAST(CUR=17)+1));
TH18:=CONST(REF(HH,BARSLAST(CUR=18)+1));TH19:=CONST(REF(HH,BARSLAST(CUR=19)+1));
TH20:=CONST(REF(HH,BARSLAST(CUR=20)+1));TH21:=CONST(REF(HH,BARSLAST(CUR=21)+1));
TH22:=CONST(REF(HH,BARSLAST(CUR=22)+1));TH23:=CONST(REF(HH,BARSLAST(CUR=23)+1));
TH24:=CONST(REF(HH,BARSLAST(CUR=24)+1));TH25:=CONST(REF(HH,BARSLAST(CUR=25)+1));
TH26:=CONST(REF(HH,BARSLAST(CUR=26)+1));TH27:=CONST(REF(HH,BARSLAST(CUR=27)+1));
TH28:=CONST(REF(HH,BARSLAST(CUR=28)+1));TH29:=CONST(REF(HH,BARSLAST(CUR=29)+1));
TH30:=CONST(REF(HH,BARSLAST(CUR=30)+1));TH31:=CONST(REF(HH,BARSLAST(CUR=31)+1));
TH32:=CONST(REF(HH,BARSLAST(CUR=32)+1));TH33:=CONST(REF(HH,BARSLAST(CUR=33)+1));
TH34:=CONST(REF(HH,BARSLAST(CUR=34)+1));TH35:=CONST(REF(HH,BARSLAST(CUR=35)+1));
TH36:=CONST(REF(HH,BARSLAST(CUR=36)+1));TH37:=CONST(REF(HH,BARSLAST(CUR=37)+1));
TH38:=CONST(REF(HH,BARSLAST(CUR=38)+1));TH39:=CONST(REF(HH,BARSLAST(CUR=39)+1));
TH40:=CONST(REF(HH,BARSLAST(CUR=40)+1));TH41:=CONST(REF(HH,BARSLAST(CUR=41)+1));
TH42:=CONST(REF(HH,BARSLAST(CUR=42)+1));TH43:=CONST(REF(HH,BARSLAST(CUR=43)+1));
TH44:=CONST(REF(HH,BARSLAST(CUR=44)+1));TH45:=CONST(REF(HH,BARSLAST(CUR=45)+1));
TH46:=CONST(REF(HH,BARSLAST(CUR=46)+1));TH47:=CONST(REF(HH,BARSLAST(CUR=47)+1));
TH48:=CONST(REF(HH,BARSLAST(CUR=48)+1));TH49:=CONST(REF(HH,BARSLAST(CUR=49)+1));
TH50:=CONST(REF(HH,BARSLAST(CUR=50)+1));TH51:=CONST(REF(HH,BARSLAST(CUR=51)+1));
TH52:=CONST(REF(HH,BARSLAST(CUR=52)+1));TH53:=CONST(REF(HH,BARSLAST(CUR=53)+1));
TH54:=CONST(REF(HH,BARSLAST(CUR=54)+1));TH55:=CONST(REF(HH,BARSLAST(CUR=55)+1));
TH56:=CONST(REF(HH,BARSLAST(CUR=56)+1));TH57:=CONST(REF(HH,BARSLAST(CUR=57)+1));
TH58:=CONST(REF(HH,BARSLAST(CUR=58)+1));TH59:=CONST(REF(HH,BARSLAST(CUR=59)+1));
TH60:=CONST(REF(HH,BARSLAST(CUR=60)+1));TH61:=CONST(REF(HH,BARSLAST(CUR=61)+1));
TH62:=CONST(REF(HH,BARSLAST(CUR=62)+1));TH63:=CONST(REF(HH,BARSLAST(CUR=63)+1));
TH64:=CONST(REF(HH,BARSLAST(CUR=64)+1));TH65:=CONST(REF(HH,BARSLAST(CUR=65)+1));
TH66:=CONST(REF(HH,BARSLAST(CUR=66)+1));TH67:=CONST(REF(HH,BARSLAST(CUR=67)+1));
TH68:=CONST(REF(HH,BARSLAST(CUR=68)+1));
N:=余玉;{-59 2 -59}
HGHG:=IF(CUR=(N+40),TH41,IF(CUR=(N+41),TH42,IF(CUR=(N+42),TH43,IF(CUR=(N+43),TH44,
IF(CUR=(N+44),TH45,IF(CUR=(N+45),TH46,IF(CUR=(N+46),TH47,IF(CUR=(N+47),TH48,
IF(CUR=(N+48),TH49,IF(CUR=(N+49),TH50,IF(CUR=(N+50),TH51,IF(CUR=(N+51),TH52,
IF(CUR=(N+52),TH53,IF(CUR=(N+53),TH54,IF(CUR=(N+54),TH55,IF(CUR=(N+55),TH56,
IF(CUR=(N+56),TH57,IF(CUR=(N+57),TH58,IF(CUR=(N+58),TH59,IF(CUR=(N+59),TH60,
IF(CUR=(N+60),TH61,IF(CUR=(N+61),TH62,IF(CUR=(N+62),TH63,IF(CUR=(N+63),TH64,
IF(CUR=(N+64),TH65,IF(CUR=(N+65),TH66,IF(CUR=(N+66),TH67,IF(CUR=(N+67),TH68,
DRAWNULL))))))))))))))))))))))))))));
HGH:IF(CUR=N-1,TH0,IF(CUR=N,TH1,IF(CUR=(N+1),TH2,IF(CUR=(N+2),TH3,IF(CUR=(N+3),TH4,
IF(CUR=(N+4),TH5,IF(CUR=(N+5),TH6,IF(CUR=(N+6),TH7,IF(CUR=(N+7),TH8,
IF(CUR=(N+8),TH9,IF(CUR=(N+9),TH10,IF(CUR=(N+10),TH11,IF(CUR=(N+11),TH12,
IF(CUR=(N+12),TH13,IF(CUR=(N+13),TH14,IF(CUR=(N+14),TH15,IF(CUR=(N+15),TH16,
IF(CUR=(N+16),TH17,IF(CUR=(N+17),TH18,IF(CUR=(N+18),TH19,IF(CUR=(N+19),TH20,
IF(CUR=(N+20),TH21,IF(CUR=(N+21),TH22,IF(CUR=(N+22),TH23,IF(CUR=(N+23),TH24,
IF(CUR=(N+24),TH25,IF(CUR=(N+25),TH26,IF(CUR=(N+26),TH27,IF(CUR=(N+27),TH28,
IF(CUR=(N+28),TH29,IF(CUR=(N+29),TH30,IF(CUR=(N+30),TH31,IF(CUR=(N+31),TH32,
IF(CUR=(N+32),TH33,IF(CUR=(N+33),TH34,IF(CUR=(N+34),TH35,IF(CUR=(N+35),TH36,
IF(CUR=(N+36),TH37,IF(CUR=(N+37),TH38,IF(CUR=(N+38),TH39,IF(CUR=(N+39),TH40,
HGHG)))))))))))))))))))))))))))))))))))))))));
OENO:=IF(CUR=(N+40),TO41,IF(CUR=(N+41),TO42,IF(CUR=(N+42),TO43,IF(CUR=(N+43),TO44,
IF(CUR=(N+44),TO45,IF(CUR=(N+45),TO46,IF(CUR=(N+46),TO47,IF(CUR=(N+47),TO48,
IF(CUR=(N+48),TO49,IF(CUR=(N+49),TO50,IF(CUR=(N+50),TO51,IF(CUR=(N+51),TO52,
IF(CUR=(N+52),TO53,IF(CUR=(N+53),TO54,IF(CUR=(N+54),TO55,IF(CUR=(N+55),TO56,
IF(CUR=(N+56),TO57,IF(CUR=(N+57),TO58,IF(CUR=(N+58),TO59,IF(CUR=(N+59),TO60,
IF(CUR=(N+60),TO61,IF(CUR=(N+61),TO62,IF(CUR=(N+62),TO63,IF(CUR=(N+63),TO64,
IF(CUR=(N+64),TO65,IF(CUR=(N+65),TO66,IF(CUR=(N+66),TO67,IF(CUR=(N+67),TO68,
DRAWNULL))))))))))))))))))))))))))));
OEN:IF(CUR=N-1,TO0,IF(CUR=N,TO1,IF(CUR=(N+1),TO2,IF(CUR=(N+2),TO3,IF(CUR=(N+3),TO4,
IF(CUR=(N+4),TO5,IF(CUR=(N+5),TO6,IF(CUR=(N+6),TO7,IF(CUR=(N+7),TO8,
IF(CUR=(N+8),TO9,IF(CUR=(N+9),TO10,IF(CUR=(N+10),TO11,IF(CUR=(N+11),TO12,
IF(CUR=(N+12),TO13,IF(CUR=(N+13),TO14,IF(CUR=(N+14),TO15,IF(CUR=(N+15),TO16,
IF(CUR=(N+16),TO17,IF(CUR=(N+17),TO18,IF(CUR=(N+18),TO19,IF(CUR=(N+19),TO20,
IF(CUR=(N+20),TO21,IF(CUR=(N+21),TO22,IF(CUR=(N+22),TO23,IF(CUR=(N+23),TO24,
IF(CUR=(N+24),TO25,IF(CUR=(N+25),TO26,IF(CUR=(N+26),TO27,IF(CUR=(N+27),TO28,
IF(CUR=(N+28),TO29,IF(CUR=(N+29),TO30,IF(CUR=(N+30),TO31,IF(CUR=(N+31),TO32,
IF(CUR=(N+32),TO33,IF(CUR=(N+33),TO34,IF(CUR=(N+34),TO35,IF(CUR=(N+35),TO36,
IF(CUR=(N+36),TO37,IF(CUR=(N+37),TO38,IF(CUR=(N+38),TO39,IF(CUR=(N+39),TO40,
OENO)))))))))))))))))))))))))))))))))))))))));
LWL:=IF(CUR=(N+40),TL41,IF(CUR=(N+41),TL42,IF(CUR=(N+42),TL43,IF(CUR=(N+43),TL44,
IF(CUR=(N+44),TL45,IF(CUR=(N+45),TL46,IF(CUR=(N+46),TL47,IF(CUR=(N+47),TL48,
IF(CUR=(N+48),TL49,IF(CUR=(N+49),TL50,IF(CUR=(N+50),TL51,IF(CUR=(N+51),TL52,
IF(CUR=(N+52),TL53,IF(CUR=(N+53),TL54,IF(CUR=(N+54),TL55,IF(CUR=(N+55),TL56,
IF(CUR=(N+56),TL57,IF(CUR=(N+57),TL58,IF(CUR=(N+58),TL59,IF(CUR=(N+59),TL60,
IF(CUR=(N+60),TL61,IF(CUR=(N+61),TL62,IF(CUR=(N+62),TL63,IF(CUR=(N+63),TL64,
IF(CUR=(N+64),TL65,IF(CUR=(N+65),TL66,IF(CUR=(N+66),TL67,IF(CUR=(N+67),TL68,
DRAWNULL))))))))))))))))))))))))))));
LW:IF(CUR=N-1,TL0,IF(CUR=N,TL1,IF(CUR=(N+1),TL2,IF(CUR=(N+2),TL3,IF(CUR=(N+3),TL4,
IF(CUR=(N+4),TL5,IF(CUR=(N+5),TL6,IF(CUR=(N+6),TL7,IF(CUR=(N+7),TL8,
IF(CUR=(N+8),TL9,IF(CUR=(N+9),TL10,IF(CUR=(N+10),TL11,IF(CUR=(N+11),TL12,
IF(CUR=(N+12),TL13,IF(CUR=(N+13),TL14,IF(CUR=(N+14),TL15,IF(CUR=(N+15),TL16,
IF(CUR=(N+16),TL17,IF(CUR=(N+17),TL18,IF(CUR=(N+18),TL19,IF(CUR=(N+19),TL20,
IF(CUR=(N+20),TL21,IF(CUR=(N+21),TL22,IF(CUR=(N+22),TL23,IF(CUR=(N+23),TL24,
IF(CUR=(N+24),TL25,IF(CUR=(N+25),TL26,IF(CUR=(N+26),TL27,IF(CUR=(N+27),TL28,
IF(CUR=(N+28),TL29,IF(CUR=(N+29),TL30,IF(CUR=(N+30),TL31,IF(CUR=(N+31),TL32,
IF(CUR=(N+32),TL33,IF(CUR=(N+33),TL34,IF(CUR=(N+34),TL35,IF(CUR=(N+35),TL36,
IF(CUR=(N+36),TL37,IF(CUR=(N+37),TL38,IF(CUR=(N+38),TL39,IF(CUR=(N+39),TL40,
LWL)))))))))))))))))))))))))))))))))))))))));
更新指标引用项:
LL:=IF(指标=1,"KDJ.J",IF(指标=2,"MACD.DIF",IF(指标=3,CCI,IF(指标=4,"WR.WR1",
IF(指标=5,"RSI.RSI1",IF(指标=6,"BIAS.BIAS1",IF(指标=7,ROC,OSC)))))));
OO:=IF(指标=1,"KDJ.K",IF(指标=2,"MACD.DEA",IF(指标=3,100,IF(指标=4,"WR.WR2",
IF(指标=5,"RSI.RSI2",IF(指标=6,"BIAS.BIAS2",IF(指标=7,-6.5,EXPMEMA(OSC,6))))))));
HH:=IF(指标=1,"KDJ.D",IF(指标=2,"MACD.MACD",IF(指标=3,-100,IF(指标=4,50,
IF(指标=5,"RSI.RSI3",IF(指标=6,"BIAS.BIAS3",IF(指标=7,MA(ROC,6),0)))))));
gd9694
【下载地址隐藏】: 点:回复可见地址