时间之窗股价增幅通道良机
n:1 1000 200 m:1 34 13 drawgbk(c>0, rgb(0,0,00),rgb(0,0,0),0,'12',0); 生命线:=ma(c,60); 牛熊线:=ma(c,120); drawband(生命线,rgb(200,50,55),牛熊线,rgb(0,100,50)); drawkline(h,o,l,c); 股价96:="y395"; 增幅96:=xma(xma(xma(股价96,3),3),3)-ref(xma(xma(xma(股价96,3),3),3),1); x396:=xma(股价96,3); j396:=(xma(股价96,3)*3+0.5*股价96-0.5*ref(股价96,1)+增幅96)/3; y396:iff(currbarscount=1,j396,x396),linethick2,colorgreen; if(y396>ref(y396,1),y396,drawnull),colorred,linethick2; 高险区1:y396*1.1,colorlired,colorffff00; 高风区2:y396*1.125,colorlired,colorff0000; 高风区3:y396*1.15,colorlired,color00ff00; 良机区1:y396*0.9,colorliblue,color00ffff; 良机区2:y396*0.875,colorliblue,colorff00ff; 良机区3:y396*0.85,color0000ff; wsr1:=(close-ma(close,5))/ma(close,5)*100; wsr2:=cross(wsr1,5); wsr3:=cross(8,wsr1); wsr4:=cross(wsr1,-5); wsr5:=cross(wsr1,-8); wsr6:=wsr3; wsr7:=wsr4 or wsr5; wsr8:=wsr7 and filter(wsr7,5); wsr10:drawicon(wsr8,l-0.01,1); wsr9:=wsr6 and filter(wsr6,5); wsr11:drawicon(wsr9,h+0.01,2); wsr12:=o<良机区3; drawicon(wsr12 and filter(wsr12,12),l-0.03,9); w1:=c>ref(c,1) and macd<ref(macd,1) and macd>0 and v<ref(v,1); w2:=c>ref(c,1) and macd<0 and macd<ref(macd,1) and v<ref(v,1); xg:=w1 or w2; var1:=amount/vol/7; var2:=(3*high+low+open+2*close)/7; var3:=sum(amount,10)/var1/7; var4:=dma(var2,vol/var3); var5:=(close-var4)/var4*100,colorlimagenta; xg1:=cross(var5,ma(var5,2)) and var5<0 and c<(hhv(h,5)*0.88) and ref(o>c,1) and ref(o>c,2); xg3:=xg and xg1 and l<良机区1; wsr13:=o>良机区3 and l<良机区1 or xg3; drawicon(wsr13 and filter(wsr13,10),l-0.03,23); wsr14:=h>高风区3;drawicon(wsr14 and filter(wsr14,15),h+0.03,19); wsr15:=h<高风区3 and h>高风区2;drawicon(wsr15 and filter(wsr15,5),h+0.03,15); wsr16:=(indexc-ma(indexc,3))/ma(indexc,3); wsr17:=(indexc-ma(indexc,8))/ma(indexc,8); wsr18:=(indexc-ma(indexc,18))/ma(indexc,18); wsr19:=(wsr16 + wsr17 + wsr18)/3; wsr20:=(c-ma(c,3))/ma(c,3); wsr21:=(c-ma(c,8))/ma(c,8); wsr22:=(c-ma(c,18))/ma(c,18); wsr23:=(wsr20 + wsr21 + wsr22)/3; wsr24:=(wsr19>ref(wsr19,1) and cross(wsr23,wsr19))*50; wsr25:=(indexc-ma(indexc,6))/ma(indexc,6); wsr26:=(indexc-ma(indexc,12))/ma(indexc,12); wsr27:=(indexc-ma(indexc,24))/ma(indexc,24); wsr28:=(wsr25 + wsr26 + wsr27)/3; wsr29:=(c-ma(c,6))/ma(c,6); wsr30:=(c-ma(c,12))/ma(c,12); wsr31:=(c-ma(c,24))/ma(c,24); wsr32:=(wsr29 + wsr30 + wsr31)/3; wsr33:=(wsr28>ref(wsr28,1) and cross(wsr32,wsr28))*20; wsr34:=(indexc-ma(indexc,13))/ma(indexc,13); wsr35:=(indexc-ma(indexc,34))/ma(indexc,34); wsr36:=(indexc-ma(indexc,55))/ma(indexc,55); wsr37:=(wsr34 + wsr35 + wsr36)/3; wsr38:=(c-ma(c,13))/ma(c,13); wsr39:=(c-ma(c,34))/ma(c,34); wsr40:=(c-ma(c,55))/ma(c,55); wsr41:=(wsr38 + wsr39 + wsr40)/3; wsr42:=(wsr37>ref(wsr37,1) and cross(wsr41,wsr37)); wsr43:=(indexc-ma(indexc,13))/ma(indexc,13); wsr44:=(indexc-ma(indexc,34))/ma(indexc,34); wsr45:=(indexc-ma(indexc,55))/ma(indexc,55); wsr46:=(wsr43 + wsr44 + wsr45)/3; wsr47:=(c-ma(c,30))/ma(c,30); wsr48:=(c-ma(c,60))/ma(c,60); wsr49:=(c-ma(c,90))/ma(c,90); wsr50:=(wsr47 + wsr48 + wsr49)/3; wsr51:=(wsr46>ref(wsr46,1) and cross(wsr50,wsr46)); wsr52:=(indexc-ma(indexc,34))/ma(indexc,34); wsr53:=(indexc-ma(indexc,55))/ma(indexc,55); wsr54:=(indexc-ma(indexc,89))/ma(indexc,89); wsr55:=(wsr52 + wsr53 + wsr54)/3; wsr56:=(c-ma(c,60))/ma(c,60); wsr57:=(c-ma(c,120))/ma(c,120); wsr58:=(c-ma(c,220))/ma(c,220); wsr59:=(wsr56 + wsr57 + wsr58)/3; wsr60:=(wsr59>ref(wsr59,1) and cross(wsr59,wsr55)); wsr61:=wsr24 or wsr33 or wsr42 or wsr51 or wsr60; drawtext(wsr61 and h<y396 and filter(wsr61,5),良机区3,'★'),color00ffff; drawtext(wsr61 and h<y396 and filter(wsr61,5),良机区3*0.97,'机'),color00ffff; 时间之窗:=hhvbars(zig(3,m)>ref(zig(3,m),1) and ref(zig(3,m), 1)<ref(zig(3,m), 2),n); drawtext(时间之窗=2,l*0.94,'★3天'),colorred; drawtext(时间之窗=4,h*1.06,'★5天'),colorgreen; drawtext(时间之窗=7,l*0.94,'★8天'),colorred; drawtext(时间之窗=12,h*1.06,'★13天'),colorgreen; drawtext(时间之窗=20,l*0.94,'★21天'),colorlired; drawtext(时间之窗=33,h*1.06,'★34天'),colorligreen; drawtext(时间之窗=54,l*0.94,'★55天'),colorlired; {drawtext(时间之窗=88,h*1.06,'★89天'),colorligreen; drawtext(时间之窗=143,l*0.94,'★144天'),colorlired; drawtext(时间之窗=232,h*1.06,'★233天'),colorligreen; drawtext(时间之窗=376,l*0.94,'★377天'),colorlired; drawtext(时间之窗=609,h*1.06,'★610天'),colorligreen; } get:=zig(3,3),colorffffff; pl5:=zig(3,5); en1:=zig(3,5)>ref(zig(3,5),1) and ref(zig(3,5),1)<=ref(zig(3,5),2) and ref(zig(3,5),2)<=ref(zig(3,5),3); ex1:=zig(3,5)<ref(zig(3,5),1) and ref(zig(3,5),1)>=ref(zig(3,5),2) and ref(zig(3,5),2)>=ref(zig(3,5),3); pl10:=zig(3,10); en2:=zig(3,10)>ref(zig(3,10),1) and ref(zig(3,10),1)<=ref(zig(3,10),2) and ref(zig(3,10),2)<=ref(zig(3,10),3); ex2:=zig(3,10)<ref(zig(3,10),1) and ref(zig(3,10),1)>=ref(zig(3,10),2) and ref(zig(3,10),2)>=ref(zig(3,10),3); pl20:=zig(3,20); en3:=zig(3,20)>ref(zig(3,20),1) and ref(zig(3,20),1)<=ref(zig(3,20),2) and ref(zig(3,20),2)<=ref(zig(3,20),3); ex3:=zig(3,20)<ref(zig(3,20),1) and ref(zig(3,20),1)>=ref(zig(3,20),2) and ref(zig(3,20),2)>=ref(zig(3,20),3); pl40:=zig(3,40); 走强1:=barslast(pl5<ref(pl5,1)); 走弱1:=barslast(pl5>ref(pl5,1)); 走强2:=barslast(pl10<ref(pl10,1)); 走弱2:=barslast(pl10>ref(pl10,1)); 走强3:=barslast(pl20<ref(pl20,1)); 走弱3:=barslast(pl20>ref(pl20,1)); ztjz5:=if(pl10>ref(pl10,1),count(en1,走强2),0); ztjd5:=if(pl10>ref(pl10,1),count(ex1,走强2),0); dtjz5:=if(pl10<ref(pl10,1),count(en1,走弱2),0); dtjd5:=if(pl10<ref(pl10,1),count(ex1,走弱2),0); ztjz10:=if(pl20>ref(pl20,1),count(en2,走强3),0); ztjd10:=if(pl20>ref(pl20,1),count(ex2,走强3),0); dtjz10:=if(pl20<ref(pl20,1),count(en2,走弱3),0); dtjd10:=if(pl20<ref(pl20,1),count(ex2,走弱3),0); drawtext(en1 and dtjz5=1,l*0.98,'(a)'),colorffff00; drawtext(ex1 and dtjd5=2,h*1.02,'(b)'),colorff00ff; drawtext(en2 and ztjz5=1,l*0.98,'(c)'),color0000ff; drawtext(ex1 and pl10>ref(pl10,1) and ztjd5=1,h*1.02,'⑴'),color0000ff; drawtext(en1 and pl10>ref(pl10,1) and ztjz5=2,l*0.98,'⑵'),color0000ff; drawtext(ex1 and pl10>ref(pl10,1) and ztjz5=2,h*1.02,'⑶'),color0000ff; drawtext(en1 and pl10>ref(pl10,1) and ztjz5=3,l*0.98,'⑷'),color0000ff; drawtext(ex2 and pl20>ref(pl20,1) and ztjd10=1,h*1.02,'⑸'),color0000ff; drawtext(en2 and dtjz10=1,l*0.93,'ⅰ'),colorff00ff; drawtext(ex2 and dtjd10=2,h*1.05,'ⅱ'),colorffff00; drawtext(en3 and ztjz10=1,l*0.93,'ⅲ'),color0000ff; drawtext(ex2 and pl20>ref(pl20,1) and ztjd10=1,h*1.03,'①'),linethick3,color00ffff; drawtext(en2 and pl20>ref(pl20,1) and ztjz10=2,l*0.95,'②'),linethick3,color00ffff; drawtext(ex2 and pl20>ref(pl20,1) and ztjd10=2 or (ztjd10=0 or ztjd10=2) and ex2,h*1.03,'③'),linethick3,color00ffff; drawtext(en2 and pl20>ref(pl20,1) and ztjz10=3,l*0.95,'④'),linethick3,color00ffff; v1:=(c+h+l)/3; ma3:=ma(v1,2); ma5:=ma(v1,5); drawband(ma2,rgb(200,50,55),ma5,rgb(0,100,50)); 遵:if(ma2>=ma5,ma2,drawnull),colorred; 守:if(ma5>=ma2,ma5,drawnull),colorff9900; 纪:if(ma2>=ma5,ma5,drawnull),color00ffff; 律:if(ma5>=ma2,ma2,drawnull),color00ff00; drawtext_fix(1,0.0,0.00,0,externstr(0,1))color0077ff;
================================================== 引用的公式,如下,请先建立引用公式,然后建立上面的主图公式。 ====================================================== {y395} 股价67:="y366"; 增幅67:=xma(xma(xma(股价67,3),3),3)-ref(xma(xma(xma(股价67,3),3),3),1); x367:=xma(股价67,3); j367:=(xma(股价67,3)*3+0.5*股价67-0.5*ref(股价67,1)+增幅67)/3; y367:=iff(currbarscount=1,j367,x367); 股价68:=y367; 增幅68:=xma(xma(xma(股价68,3),3),3)-ref(xma(xma(xma(股价68,3),3),3),1); x368:=xma(股价68,3); j368:=(xma(股价68,3)*3+0.5*股价68-0.5*ref(股价68,1)+增幅68)/3; y368:=iff(currbarscount=1,j368,x368); 股价69:=y368; 增幅69:=xma(xma(xma(股价69,3),3),3)-ref(xma(xma(xma(股价69,3),3),3),1); x369:=xma(股价69,3); j369:=(xma(股价69,3)*3+0.5*股价69-0.5*ref(股价69,1)+增幅69)/3; y369:=iff(currbarscount=1,j369,x369); 股价70:=y369; 增幅70:=xma(xma(xma(股价70,3),3),3)-ref(xma(xma(xma(股价70,3),3),3),1); x370:=xma(股价70,3); j370:=(xma(股价70,3)*3+0.5*股价70-0.5*ref(股价70,1)+增幅70)/3; y370:=iff(currbarscount=1,j370,x370); 股价71:=y370; 增幅71:=xma(xma(xma(股价71,3),3),3)-ref(xma(xma(xma(股价71,3),3),3),1); x371:=xma(股价71,3); j371:=(xma(股价71,3)*3+0.5*股价71-0.5*ref(股价71,1)+增幅71)/3; y371:=iff(currbarscount=1,j371,x371); 股价72:=y371; 增幅72:=xma(xma(xma(股价72,3),3),3)-ref(xma(xma(xma(股价72,3),3),3),1); x372:=xma(股价72,3); j372:=(xma(股价72,3)*3+0.5*股价72-0.5*ref(股价72,1)+增幅72)/3; y372:=iff(currbarscount=1,j372,x372); 股价73:=y372; 增幅73:=xma(xma(xma(股价73,3),3),3)-ref(xma(xma(xma(股价73,3),3),3),1); x373:=xma(股价73,3); j373:=(xma(股价73,3)*3+0.5*股价73-0.5*ref(股价73,1)+增幅73)/3; y373:=iff(currbarscount=1,j373,x373); 股价74:=y373; 增幅74:=xma(xma(xma(股价74,3),3),3)-ref(xma(xma(xma(股价74,3),3),3),1); x374:=xma(股价74,3); j374:=(xma(股价74,3)*3+0.5*股价74-0.5*ref(股价74,1)+增幅74)/3; y374:=iff(currbarscount=1,j374,x374); 股价75:=y374; 增幅75:=xma(xma(xma(股价75,3),3),3)-ref(xma(xma(xma(股价75,3),3),3),1); x375:=xma(股价75,3); j375:=(xma(股价75,3)*3+0.5*股价75-0.5*ref(股价75,1)+增幅75)/3; y375:=iff(currbarscount=1,j375,x375); 股价76:=y375; 增幅76:=xma(xma(xma(股价76,3),3),3)-ref(xma(xma(xma(股价76,3),3),3),1); x376:=xma(股价76,3); j376:=(xma(股价76,3)*3+0.5*股价76-0.5*ref(股价76,1)+增幅76)/3; y376:=iff(currbarscount=1,j376,x376); 股价77:=y376; 增幅77:=xma(xma(xma(股价77,3),3),3)-ref(xma(xma(xma(股价77,3),3),3),1); x377:=xma(股价77,3); j377:=(xma(股价77,3)*3+0.5*股价77-0.5*ref(股价77,1)+增幅77)/3; y377:=iff(currbarscount=1,j377,x377); 股价78:=y377; 增幅78:=xma(xma(xma(股价78,3),3),3)-ref(xma(xma(xma(股价78,3),3),3),1); x378:=xma(股价78,3); j378:=(xma(股价78,3)*3+0.5*股价78-0.5*ref(股价78,1)+增幅78)/3; y378:=iff(currbarscount=1,j378,x378); 股价79:=y378; 增幅79:=xma(xma(xma(股价79,3),3),3)-ref(xma(xma(xma(股价79,3),3),3),1); x379:=xma(股价79,3); j379:=(xma(股价79,3)*3+0.5*股价79-0.5*ref(股价79,1)+增幅79)/3; y379:=iff(currbarscount=1,j379,x379); 股价80:=y379; 增幅80:=xma(xma(xma(股价80,3),3),3)-ref(xma(xma(xma(股价80,3),3),3),1); x380:=xma(股价80,3); j380:=(xma(股价80,3)*3+0.5*股价80-0.5*ref(股价80,1)+增幅80)/3; y380:=iff(currbarscount=1,j380,x380); 股价81:=y380; 增幅81:=xma(xma(xma(股价81,3),3),3)-ref(xma(xma(xma(股价81,3),3),3),1); x381:=xma(股价81,3); j381:=(xma(股价81,3)*3+0.5*股价81-0.5*ref(股价81,1)+增幅81)/3; y381:=iff(currbarscount=1,j381,x381); 股价82:=y381; 增幅82:=xma(xma(xma(股价82,3),3),3)-ref(xma(xma(xma(股价82,3),3),3),1); x382:=xma(股价82,3); j382:=(xma(股价82,3)*3+0.5*股价82-0.5*ref(股价82,1)+增幅82)/3; y382:=iff(currbarscount=1,j382,x382); 股价83:=y382; 增幅83:=xma(xma(xma(股价83,3),3),3)-ref(xma(xma(xma(股价83,3),3),3),1); x383:=xma(股价83,3); j383:=(xma(股价83,3)*3+0.5*股价83-0.5*ref(股价83,1)+增幅83)/3; y383:=iff(currbarscount=1,j383,x383); 股价84:=y383; 增幅84:=xma(xma(xma(股价84,3),3),3)-ref(xma(xma(xma(股价84,3),3),3),1); x384:=xma(股价84,3); j384:=(xma(股价84,3)*3+0.5*股价84-0.5*ref(股价84,1)+增幅84)/3; y384:=iff(currbarscount=1,j384,x384); 股价85:=y384; 增幅85:=xma(xma(xma(股价85,3),3),3)-ref(xma(xma(xma(股价85,3),3),3),1); x385:=xma(股价85,3); j385:=(xma(股价85,3)*3+0.5*股价85-0.5*ref(股价85,1)+增幅85)/3; y385:=iff(currbarscount=1,j385,x385); 股价86:=y385; 增幅86:=xma(xma(xma(股价86,3),3),3)-ref(xma(xma(xma(股价86,3),3),3),1); x386:=xma(股价86,3); j386:=(xma(股价86,3)*3+0.5*股价86-0.5*ref(股价86,1)+增幅86)/3; y386:=iff(currbarscount=1,j386,x386); 股价87:=y386; 增幅87:=xma(xma(xma(股价87,3),3),3)-ref(xma(xma(xma(股价87,3),3),3),1); x387:=xma(股价87,3); j387:=(xma(股价87,3)*3+0.5*股价87-0.5*ref(股价87,1)+增幅87)/3; y387:=iff(currbarscount=1,j387,x387); 股价88:=y387; 增幅88:=xma(xma(xma(股价88,3),3),3)-ref(xma(xma(xma(股价88,3),3),3),1); x388:=xma(股价88,3); j388:=(xma(股价88,3)*3+0.5*股价88-0.5*ref(股价88,1)+增幅88)/3; y388:=iff(currbarscount=1,j388,x388); 股价89:=y388; 增幅89:=xma(xma(xma(股价89,3),3),3)-ref(xma(xma(xma(股价89,3),3),3),1); x389:=xma(股价89,3); j389:=(xma(股价89,3)*3+0.5*股价89-0.5*ref(股价89,1)+增幅89)/3; y389:iff(currbarscount=1,j389,x389); 股价90:=y389; 增幅90:=xma(xma(xma(股价90,3),3),3)-ref(xma(xma(xma(股价90,3),3),3),1); x390:=xma(股价90,3); j390:=(xma(股价90,3)*3+0.5*股价90-0.5*ref(股价90,1)+增幅90)/3; y390:=iff(currbarscount=1,j390,x390); 股价91:=y390; 增幅91:=xma(xma(xma(股价91,3),3),3)-ref(xma(xma(xma(股价91,3),3),3),1); x391:=xma(股价91,3); j391:=(xma(股价91,3)*3+0.5*股价91-0.5*ref(股价91,1)+增幅91)/3; y391:=iff(currbarscount=1,j391,x391); 股价92:=y391; 增幅92:=xma(xma(xma(股价92,3),3),3)-ref(xma(xma(xma(股价92,3),3),3),1); x392:=xma(股价92,3); j392:=(xma(股价92,3)*3+0.5*股价92-0.5*ref(股价92,1)+增幅92)/3; y392:=iff(currbarscount=1,j392,x392); 股价93:=y392; 增幅93:=xma(xma(xma(股价93,3),3),3)-ref(xma(xma(xma(股价93,3),3),3),1); x393:=xma(股价93,3); j393:=(xma(股价93,3)*3+0.5*股价93-0.5*ref(股价93,1)+增幅93)/3; y393:=iff(currbarscount=1,j393,x393); 股价94:=y393; 增幅94:=xma(xma(xma(股价94,3),3),3)-ref(xma(xma(xma(股价94,3),3),3),1); x394:=xma(股价94,3); j394:=(xma(股价94,3)*3+0.5*股价94-0.5*ref(股价94,1)+增幅94)/3; y394:=iff(currbarscount=1,j394,x394); 股价95:=y394; 增幅95:=xma(xma(xma(股价95,3),3),3)-ref(xma(xma(xma(股价95,3),3),3),1); x395:=xma(股价95,3); j395:=(xma(股价95,3)*3+0.5*股价95-0.5*ref(股价95,1)+增幅95)/3; y395:iff(currbarscount=1,j395,x395); =============================================================== {y366} 股价34:="y333"; 增幅34:=xma(xma(xma(股价34,3),3),3)-ref(xma(xma(xma(股价34,3),3),3),1); x334:=xma(股价34,3); j334:=(xma(股价34,3)*3+0.5*股价34-0.5*ref(股价34,1)+增幅34)/3; y334:=iff(currbarscount=1,j334,x334); 股价35:=y334; 增幅35:=xma(xma(xma(股价35,3),3),3)-ref(xma(xma(xma(股价35,3),3),3),1); x335:=xma(股价35,3); j335:=(xma(股价35,3)*3+0.5*股价35-0.5*ref(股价35,1)+增幅35)/3; y335:=iff(currbarscount=1,j335,x335); 股价36:=y335; 增幅36:=xma(xma(xma(股价36,3),3),3)-ref(xma(xma(xma(股价36,3),3),3),1); x336:=xma(股价36,3); j336:=(xma(股价36,3)*3+0.5*股价36-0.5*ref(股价36,1)+增幅36)/3; y336:=iff(currbarscount=1,j336,x336); 股价37:=y336; 增幅37:=xma(xma(xma(股价37,3),3),3)-ref(xma(xma(xma(股价37,3),3),3),1); x337:=xma(股价37,3); j337:=(xma(股价37,3)*3+0.5*股价37-0.5*ref(股价37,1)+增幅37)/3; y337:=iff(currbarscount=1,j337,x337); 股价38:=y337; 增幅38:=xma(xma(xma(股价38,3),3),3)-ref(xma(xma(xma(股价38,3),3),3),1); x338:=xma(股价38,3); j338:=(xma(股价38,3)*3+0.5*股价38-0.5*ref(股价38,1)+增幅38)/3; y338:=iff(currbarscount=1,j338,x338); 股价39:=y338; 增幅39:=xma(xma(xma(股价39,3),3),3)-ref(xma(xma(xma(股价39,3),3),3),1); x339:=xma(股价39,3); j339:=(xma(股价39,3)*3+0.5*股价39-0.5*ref(股价39,1)+增幅39)/3; y339:=iff(currbarscount=1,j339,x339); 股价40:=y339; 增幅40:=xma(xma(xma(股价40,3),3),3)-ref(xma(xma(xma(股价40,3),3),3),1); x340:=xma(股价40,3); j340:=(xma(股价40,3)*3+0.5*股价40-0.5*ref(股价40,1)+增幅40)/3; y340:=iff(currbarscount=1,j340,x340); 股价41:=y340; 增幅41:=xma(xma(xma(股价41,3),3),3)-ref(xma(xma(xma(股价41,3),3),3),1); x341:=xma(股价41,3); j341:=(xma(股价41,3)*3+0.5*股价41-0.5*ref(股价41,1)+增幅41)/3; y341:=iff(currbarscount=1,j341,x341); 股价42:=y341; 增幅42:=xma(xma(xma(股价42,3),3),3)-ref(xma(xma(xma(股价42,3),3),3),1); x342:=xma(股价42,3); j342:=(xma(股价42,3)*3+0.5*股价42-0.5*ref(股价42,1)+增幅42)/3; y342:=iff(currbarscount=1,j342,x342); 股价43:=y342; 增幅43:=xma(xma(xma(股价43,3),3),3)-ref(xma(xma(xma(股价43,3),3),3),1); x343:=xma(股价43,3); j343:=(xma(股价43,3)*3+0.5*股价43-0.5*ref(股价43,1)+增幅43)/3; y343:=iff(currbarscount=1,j343,x343); 股价44:=y343; 增幅44:=xma(xma(xma(股价44,3),3),3)-ref(xma(xma(xma(股价44,3),3),3),1); x344:=xma(股价44,3); j344:=(xma(股价44,3)*3+0.5*股价44-0.5*ref(股价44,1)+增幅44)/3; y344:=iff(currbarscount=1,j344,x344); 股价45:=y344; 增幅45:=xma(xma(xma(股价45,3),3),3)-ref(xma(xma(xma(股价45,3),3),3),1); x345:=xma(股价45,3); j345:=(xma(股价45,3)*3+0.5*股价45-0.5*ref(股价45,1)+增幅45)/3; y345:=iff(currbarscount=1,j345,x345); 股价46:=y345; 增幅46:=xma(xma(xma(股价46,3),3),3)-ref(xma(xma(xma(股价46,3),3),3),1); x346:=xma(股价46,3); j346:=(xma(股价46,3)*3+0.5*股价46-0.5*ref(股价46,1)+增幅46)/3; y346:=iff(currbarscount=1,j346,x346); 股价47:=y346; 增幅47:=xma(xma(xma(股价47,3),3),3)-ref(xma(xma(xma(股价47,3),3),3),1); x347:=xma(股价47,3); j347:=(xma(股价47,3)*3+0.5*股价47-0.5*ref(股价47,1)+增幅47)/3; y347:=iff(currbarscount=1,j347,x347); 股价48:=y347; 增幅48:=xma(xma(xma(股价48,3),3),3)-ref(xma(xma(xma(股价48,3),3),3),1); x348:=xma(股价48,3); j348:=(xma(股价48,3)*3+0.5*股价48-0.5*ref(股价48,1)+增幅48)/3; y348:=iff(currbarscount=1,j348,x348); 股价49:=y348; 增幅49:=xma(xma(xma(股价49,3),3),3)-ref(xma(xma(xma(股价49,3),3),3),1); x349:=xma(股价49,3); j349:=(xma(股价49,3)*3+0.5*股价49-0.5*ref(股价49,1)+增幅49)/3; y349:=iff(currbarscount=1,j349,x349); 股价50:=y349; 增幅50:=xma(xma(xma(股价50,3),3),3)-ref(xma(xma(xma(股价50,3),3),3),1); x350:=xma(股价50,3); j350:=(xma(股价50,3)*3+0.5*股价50-0.5*ref(股价50,1)+增幅50)/3; y350:=iff(currbarscount=1,j350,x350); 股价51:=y350; 增幅51:=xma(xma(xma(股价51,3),3),3)-ref(xma(xma(xma(股价51,3),3),3),1); x351:=xma(股价51,3); j351:=(xma(股价51,3)*3+0.5*股价51-0.5*ref(股价51,1)+增幅51)/3; y351:=iff(currbarscount=1,j351,x351); 股价52:=y351; 增幅52:=xma(xma(xma(股价52,3),3),3)-ref(xma(xma(xma(股价52,3),3),3),1); x352:=xma(股价52,3); j352:=(xma(股价52,3)*3+0.5*股价52-0.5*ref(股价52,1)+增幅52)/3; y352:=iff(currbarscount=1,j352,x352); 股价53:=y352; 增幅53:=xma(xma(xma(股价53,3),3),3)-ref(xma(xma(xma(股价53,3),3),3),1); x353:=xma(股价53,3); j353:=(xma(股价53,3)*3+0.5*股价53-0.5*ref(股价53,1)+增幅53)/3; y353:=iff(currbarscount=1,j353,x353); 股价54:=y353; 增幅54:=xma(xma(xma(股价54,3),3),3)-ref(xma(xma(xma(股价54,3),3),3),1); x354:=xma(股价54,3); j354:=(xma(股价54,3)*3+0.5*股价54-0.5*ref(股价54,1)+增幅54)/3; y354:=iff(currbarscount=1,j354,x354); 股价55:=y354; 增幅55:=xma(xma(xma(股价55,3),3),3)-ref(xma(xma(xma(股价55,3),3),3),1); x355:=xma(股价55,3); j355:=(xma(股价55,3)*3+0.5*股价55-0.5*ref(股价55,1)+增幅55)/3; y355:=iff(currbarscount=1,j355,x355); 股价56:=y355; 增幅56:=xma(xma(xma(股价56,3),3),3)-ref(xma(xma(xma(股价56,3),3),3),1); x356:=xma(股价56,3); j356:=(xma(股价56,3)*3+0.5*股价56-0.5*ref(股价56,1)+增幅56)/3; y356:=iff(currbarscount=1,j356,x356); 股价57:=y356; 增幅57:=xma(xma(xma(股价57,3),3),3)-ref(xma(xma(xma(股价57,3),3),3),1); x357:=xma(股价57,3); j357:=(xma(股价57,3)*3+0.5*股价57-0.5*ref(股价57,1)+增幅57)/3; y357:=iff(currbarscount=1,j357,x357); 股价58:=y357; 增幅58:=xma(xma(xma(股价58,3),3),3)-ref(xma(xma(xma(股价58,3),3),3),1); x358:=xma(股价58,3); j358:=(xma(股价58,3)*3+0.5*股价58-0.5*ref(股价58,1)+增幅58)/3; y358:=iff(currbarscount=1,j358,x358); 股价59:=y358; 增幅59:=xma(xma(xma(股价59,3),3),3)-ref(xma(xma(xma(股价59,3),3),3),1); x359:=xma(股价59,3); j359:=(xma(股价59,3)*3+0.5*股价59-0.5*ref(股价59,1)+增幅59)/3; y359:=iff(currbarscount=1,j359,x359); 股价60:=y359; 增幅60:=xma(xma(xma(股价60,3),3),3)-ref(xma(xma(xma(股价60,3),3),3),1); x360:=xma(股价60,3); j360:=(xma(股价60,3)*3+0.5*股价60-0.5*ref(股价60,1)+增幅60)/3; y360:=iff(currbarscount=1,j360,x360); 股价61:=y360; 增幅61:=xma(xma(xma(股价61,3),3),3)-ref(xma(xma(xma(股价61,3),3),3),1); x361:=xma(股价61,3); j361:=(xma(股价61,3)*3+0.5*股价61-0.5*ref(股价61,1)+增幅61)/3; y361:=iff(currbarscount=1,j361,x361); 股价62:=y361; 增幅62:=xma(xma(xma(股价62,3),3),3)-ref(xma(xma(xma(股价62,3),3),3),1); x362:=xma(股价62,3); j362:=(xma(股价62,3)*3+0.5*股价62-0.5*ref(股价62,1)+增幅62)/3; y362:=iff(currbarscount=1,j362,x362); 股价63:=y362; 增幅63:=xma(xma(xma(股价63,3),3),3)-ref(xma(xma(xma(股价63,3),3),3),1); x363:=xma(股价63,3); j363:=(xma(股价63,3)*3+0.5*股价63-0.5*ref(股价63,1)+增幅63)/3; y363:=iff(currbarscount=1,j363,x363); 股价64:=y363; 增幅64:=xma(xma(xma(股价64,3),3),3)-ref(xma(xma(xma(股价64,3),3),3),1); x364:=xma(股价64,3); j364:=(xma(股价64,3)*3+0.5*股价64-0.5*ref(股价64,1)+增幅64)/3; y364:=iff(currbarscount=1,j364,x364); 股价65:=y364; 增幅65:=xma(xma(xma(股价65,3),3),3)-ref(xma(xma(xma(股价65,3),3),3),1); x365:=xma(股价65,3); j365:=(xma(股价65,3)*3+0.5*股价65-0.5*ref(股价65,1)+增幅65)/3; y365:=iff(currbarscount=1,j365,x365); 股价66:=y365; 增幅66:=xma(xma(xma(股价66,3),3),3)-ref(xma(xma(xma(股价66,3),3),3),1); x366:=xma(股价66,3); j366:=(xma(股价66,3)*3+0.5*股价66-0.5*ref(股价66,1)+增幅66)/3; y366:iff(currbarscount=1,j366,x366); =========================================================== {y333} 股价1:=(c+h+l)/3; 增幅1:=xma(xma(xma(股价1,3),3),3)-ref(xma(xma(xma(股价1,3),3),3),1); x31:=xma(股价1,3); j31:=(xma(股价1,3)*3+0.5*股价1-0.5*ref(股价1,1)+增幅1)/3; y31:=iff(currbarscount=1,j31,x31); 股价2:=y31; 增幅2:=xma(xma(xma(股价2,3),3),3)-ref(xma(xma(xma(股价2,3),3),3),1); x32:=xma(股价2,3); j32:=(xma(股价2,3)*3+0.5*股价2-0.5*ref(股价2,1)+增幅2)/3; y32:=iff(currbarscount=1,j32,x32); 股价3:=y32; 增幅3:=xma(xma(xma(股价3,3),3),3)-ref(xma(xma(xma(股价3,3),3),3),1); x33:=xma(股价3,3); j33:=(xma(股价3,3)*3+0.5*股价3-0.5*ref(股价3,1)+增幅3)/3; y33:=iff(currbarscount=1,j33,x33); 股价4:=y33; 增幅4:=xma(xma(xma(股价4,3),3),3)-ref(xma(xma(xma(股价4,3),3),3),1); x34:=xma(股价4,3); j34:=(xma(股价4,3)*3+0.5*股价4-0.5*ref(股价4,1)+增幅4)/3; y34:=iff(currbarscount=1,j34,x34); 股价5:=y34; 增幅5:=xma(xma(xma(股价5,3),3),3)-ref(xma(xma(xma(股价5,3),3),3),1); x35:=xma(股价5,3); j35:=(xma(股价5,3)*3+0.5*股价5-0.5*ref(股价5,1)+增幅5)/3; y35:=iff(currbarscount=1,j35, x35); 股价6:=y35; 增幅6:=xma(xma(xma(股价6,3),3),3)-ref(xma(xma(xma(股价6,3),3),3),1); x36:=xma(股价6,3); j36:=(xma(股价6,3)*3+0.5*股价6-0.5*ref(股价6,1)+增幅6)/3; y36:=iff(currbarscount=1,j36,x36); 股价7:=y36; 增幅7:=xma(xma(xma(股价7,3),3),3)-ref(xma(xma(xma(股价7,3),3),3),1); x37:=xma(股价7,3); j37:=(xma(股价7,3)*3+0.5*股价7-0.5*ref(股价7,1)+增幅7)/3; y37:=iff(currbarscount=1,j37,x37); 股价8:=y37; 增幅8:=xma(xma(xma(股价8,3),3),3)-ref(xma(xma(xma(股价8,3),3),3),1); x38:=xma(股价8,3); j38:=(xma(股价8,3)*3+0.5*股价8-0.5*ref(股价8,1)+增幅8)/3; y38:=iff(currbarscount=1,j38,x38); 股价9:=y38; 增幅9:=xma(xma(xma(股价9,3),3),3)-ref(xma(xma(xma(股价9,3),3),3),1); x39:=xma(股价9,3); j39:=(xma(股价9,3)*3+0.5*股价9-0.5*ref(股价9,1)+增幅9)/3; y39:=iff(currbarscount=1,j39,x39); 股价10:=y39; 增幅10:=xma(xma(xma(股价10,3),3),3)-ref(xma(xma(xma(股价10,3),3),3),1); x310:=xma(股价10,3); j310:=(xma(股价10,3)*3+0.5*股价10-0.5*ref(股价10,1)+增幅10)/3; y310:=iff(currbarscount=1,j310,x310); 股价11:=y310; 增幅11:=xma(xma(xma(股价11,3),3),3)-ref(xma(xma(xma(股价11,3),3),3),1); x311:=xma(股价11,3); j311:=(xma(股价11,3)*3+0.5*股价11-0.5*ref(股价11,1)+增幅11)/3; y311:=iff(currbarscount=1,j311,x311); 股价12:=y311; 增幅12:=xma(xma(xma(股价12,3),3),3)-ref(xma(xma(xma(股价12,3),3),3),1); x312:=xma(股价12,3); j312:=(xma(股价12,3)*3+0.5*股价12-0.5*ref(股价12,1)+增幅12)/3; y312:=iff(currbarscount=1,j312,x312); 股价13:=y312; 增幅13:=xma(xma(xma(股价13,3),3),3)-ref(xma(xma(xma(股价13,3),3),3),1); x313:=xma(股价13,3); j313:=(xma(股价13,3)*3+0.5*股价13-0.5*ref(股价13,1)+增幅13)/3; y313:=iff(currbarscount=1,j313,x313); 股价14:=y313; 增幅14:=xma(xma(xma(股价14,3),3),3)-ref(xma(xma(xma(股价14,3),3),3),1); x314:=xma(股价14,3); j314:=(xma(股价14,3)*3+0.5*股价14-0.5*ref(股价14,1)+增幅14)/3; y314:=iff(currbarscount=1,j314,x314); 股价15:=y314; 增幅15:=xma(xma(xma(股价15,3),3),3)-ref(xma(xma(xma(股价15,3),3),3),1); x315:=xma(股价15,3); j315:=(xma(股价15,3)*3+0.5*股价15-0.5*ref(股价15,1)+增幅15)/3; y315:=iff(currbarscount=1,j315,x315); 股价16:=y315; 增幅16:=xma(xma(xma(股价16,3),3),3)-ref(xma(xma(xma(股价16,3),3),3),1); x316:=xma(股价16,3); j316:=(xma(股价16,3)*3+0.5*股价16-0.5*ref(股价16,1)+增幅16)/3; y316:=iff(currbarscount=1,j316,x316); 股价17:=y316; 增幅17:=xma(xma(xma(股价17,3),3),3)-ref(xma(xma(xma(股价17,3),3),3),1); x317:=xma(股价17,3); j317:=(xma(股价17,3)*3+0.5*股价17-0.5*ref(股价17,1)+增幅17)/3; y317:=iff(currbarscount=1,j317,x317); 股价18:=y317; 增幅18:=xma(xma(xma(股价18,3),3),3)-ref(xma(xma(xma(股价18,3),3),3),1); x318:=xma(股价18,3); j318:=(xma(股价18,3)*3+0.5*股价18-0.5*ref(股价18,1)+增幅18)/3; y318:=iff(currbarscount=1,j318,x318); 股价19:=y318; 增幅19:=xma(xma(xma(股价19,3),3),3)-ref(xma(xma(xma(股价19,3),3),3),1); x319:=xma(股价19,3); j319:=(xma(股价19,3)*3+0.5*股价19-0.5*ref(股价19,1)+增幅19)/3; y319:=iff(currbarscount=1,j319,x319); 股价20:=y319; 增幅20:=xma(xma(xma(股价20,3),3),3)-ref(xma(xma(xma(股价20,3),3),3),1); x320:=xma(股价20,3); j320:=(xma(股价20,3)*3+0.5*股价20-0.5*ref(股价20,1)+增幅20)/3; y320:=iff(currbarscount=1,j320,x320); 股价21:=y320; 增幅21:=xma(xma(xma(股价21,3),3),3)-ref(xma(xma(xma(股价21,3),3),3),1); x321:=xma(股价21,3); j321:=(xma(股价21,3)*3+0.5*股价21-0.5*ref(股价21,1)+增幅21)/3; y321:=iff(currbarscount=1,j321,x321); 股价22:=y321; 增幅22:=xma(xma(xma(股价22,3),3),3)-ref(xma(xma(xma(股价22,3),3),3),1); x322:=xma(股价22,3); j322:=(xma(股价22,3)*3+0.5*股价22-0.5*ref(股价22,1)+增幅22)/3; y322:=iff(currbarscount=1,j322,x322); 股价23:=y322; 增幅23:=xma(xma(xma(股价23,3),3),3)-ref(xma(xma(xma(股价23,3),3),3),1); x323:=xma(股价23,3); j323:=(xma(股价23,3)*3+0.5*股价23-0.5*ref(股价23,1)+增幅23)/3; y323:=iff(currbarscount=1,j323,x323); 股价24:=y323; 增幅24:=xma(xma(xma(股价24,3),3),3)-ref(xma(xma(xma(股价24,3),3),3),1); x324:=xma(股价24,3); j324:=(xma(股价24,3)*3+0.5*股价24-0.5*ref(股价24,1)+增幅24)/3; y324:=iff(currbarscount=1,j324,x324); 股价25:=y324; 增幅25:=xma(xma(xma(股价25,3),3),3)-ref(xma(xma(xma(股价25,3),3),3),1); x325:=xma(股价25,3); j325:=(xma(股价25,3)*3+0.5*股价25-0.5*ref(股价25,1)+增幅25)/3; y325:=iff(currbarscount=1,j325,x325); 股价26:=y325; 增幅26:=xma(xma(xma(股价26,3),3),3)-ref(xma(xma(xma(股价26,3),3),3),1); x326:=xma(股价26,3); j326:=(xma(股价26,3)*3+0.5*股价26-0.5*ref(股价26,1)+增幅26)/3; y326:=iff(currbarscount=1,j326,x326); 股价27:=y326; 增幅27:=xma(xma(xma(股价27,3),3),3)-ref(xma(xma(xma(股价27,3),3),3),1); x327:=xma(股价27,3); j327:=(xma(股价27,3)*3+0.5*股价27-0.5*ref(股价27,1)+增幅27)/3; y327:=iff(currbarscount=1,j327,x327); 股价28:=y327; 增幅28:=xma(xma(xma(股价28,3),3),3)-ref(xma(xma(xma(股价28,3),3),3),1); x328:=xma(股价28,3); j328:=(xma(股价28,3)*3+0.5*股价28-0.5*ref(股价28,1)+增幅28)/3; y328:=iff(currbarscount=1,j328,x328); 股价29:=y328; 增幅29:=xma(xma(xma(股价29,3),3),3)-ref(xma(xma(xma(股价29,3),3),3),1); x329:=xma(股价29,3); j329:=(xma(股价29,3)*3+0.5*股价29-0.5*ref(股价29,1)+增幅29)/3; y329:=iff(currbarscount=1,j329,x329); 股价30:=y329; 增幅30:=xma(xma(xma(股价30,3),3),3)-ref(xma(xma(xma(股价30,3),3),3),1); x330:=xma(股价30,3); j330:=(xma(股价30,3)*3+0.5*股价30-0.5*ref(股价30,1)+增幅30)/3; y330:=iff(currbarscount=1,j330,x330); 股价31:=y330; 增幅31:=xma(xma(xma(股价31,3),3),3)-ref(xma(xma(xma(股价31,3),3),3),1); x331:=xma(股价31,3); j331:=(xma(股价31,3)*3+0.5*股价31-0.5*ref(股价31,1)+增幅31)/3; y331:=iff(currbarscount=1,j331,x331); 股价32:=y331; 增幅32:=xma(xma(xma(股价32,3),3),3)-ref(xma(xma(xma(股价32,3),3),3),1); x332:=xma(股价32,3); j332:=(xma(股价32,3)*3+0.5*股价32-0.5*ref(股价32,1)+增幅32)/3; y332:=iff(currbarscount=1,j332,x332); 股价33:=y332; 增幅33:=xma(xma(xma(股价33,3),3),3)-ref(xma(xma(xma(股价33,3),3),3),1); x333:=xma(股价33,3); j333:=(xma(股价33,3)*3+0.5*股价33-0.5*ref(股价33,1)+增幅33)/3; y333:iff(currbarscount=1,j333,x333);
上一指标公式:超跌坑爹优化版指标附实测图下载 通达信超跌
下一指标公式:抄底买入不败指标附实测图下载 通达信不败附图
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文时间之窗股价增幅通道良机这个不错自用精品主图指标下载 通达信公式通道仅供学习研究。