最美中国风指标(指标/源码 主图/副图 通达信 贴图)
2015-8-18 11:50:44点击:
碰到一套很漂亮的指标 做指标太牛了 搞的那么漂亮 所以分享装载给大家 里面指标慢慢了解 很多有趣的 例如副图星星出现就是清仓闪人的意思等
引导公式1 {引导公式 名称必须为:FSKY} 比:=240/FROMOPEN; TT:=IF(ISLASTBAR,240/FROMOPEN,1); WJ:=(H+L+C)/3; V1:=IF(H=L,1,H-MAX(O,C)); V2:=IF(H=L,1,MAX(C,O)-WJ); V3:=IF(H=L,1,MIN(O,C)-L); V4:=IF(H=L,1,WJ-MIN(C,O)); V5:=VOL/IF(H=L,4,H-L); V6:=(V1*V5); V7:=(V2*V5); V8:=(V3*V5); V9:=(V4*V5); 买盘1:=DYNAINFO(23)*比; 卖盘1:=DYNAINFO(22)*比; 买盘2:=IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8)); 卖盘2:=IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7)); 买盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,买盘1,买盘2); 卖盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,卖盘1,卖盘2); 今量:买盘+卖盘; 主买:买盘; 昨量:REF(VOL,1); 昨主:REF(主买,1); 前量:REF(VOL,2); 前主:REF(主买,2); 前4:REF(VOL,3); 主4:REF(主买,3); 前5:REF(VOL,4); 主5:REF(主买,4); ZO:REF(O,1); ZC:REF(C,1); ZH:REF(H,1); ZL:REF(L,1); JO:REF(O,2); JC:REF(C,2); JH:REF(H,2); JL:REF(L,2); JO3:REF(O,3); JC3:REF(C,3); JH3:REF(H,3); JL3:REF(L,3); JO4:REF(O,4); JC4:REF(C,4); JH4:REF(H,4); JL4:REF(L,4); JO5:REF(O,5); JC5:REF(C,5); JH5:REF(H,5); JL5:REF(L,5); JO6:REF(O,6); JC6:REF(C,6); JH6:REF(H,6); JL6:REF(L,6); JO7:REF(O,7); JC7:REF(C,7); JH7:REF(H,7); JL7:REF(L,7); JO8:REF(O,8); JC8:REF(C,8); JH8:REF(H,8); JL8:REF(L,8); JO9:REF(O,9); JC9:REF(C,9); JH9:REF(H,9); JL9:REF(L,9); MA5:MA(C,5); MA10:MA(C,10); MA20:MA(C,20); MA60:MA(C,60); 主图公式2 {漓江渔歌 N=6 我设置最小1 最大25 缺10} 下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); RRRSV:=SMA(下档线,3,1); KKK:=SMA(RRRSV,3,1); DDDDD:=((3 * RRRSV) - (2 * KKK)); JJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); RSV24:=SMA(JJ12,3,1); K24:=SMA(RSV24,3,1); D24:=((3 * RSV24) - (2 * K24)); 压力2:=IF(CROSS(D24,DDDDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDDDD)))),COLORFFFFFF; 底部:=LLV(HIGH,30),COLOR00FF00; 压力位:=IF(ISLASTBAR,压力2,DRAWNULL),NODRAW; 底部位:=IF(ISLASTBAR,底部,DRAWNULL),NODRAW; 底:=CONST(底部); STICKLINE(ISLASTBAR ,压力位,压力位,25,0),LINETHICK2,COLORFFFFFF; STICKLINE(ISLASTBAR ,底部位,底部位,20,0),LINETHICK2,COLOR00FFFF; JRH:=HHV(C,2); JRL:=LLV(C,2); MA3:=MA(CLOSE,3); YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6; R1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2)); R2:=(REF(R1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R3:=(REF(R2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R4:=(REF(R3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R5:=(REF(R4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R6:=(REF(R5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R7:=(REF(R6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R8:=(REF(R7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R9:=(REF(R8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); RA:=(REF(R9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); RB:=(REF(RA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); RC:=(REF(RB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); RD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2)); RE:=(REF(RD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); RF:=(REF(RE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R10:=(REF(RF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R11:=(REF(R10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R12:=(REF(R11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R13:=(REF(R12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R14:=(REF(R13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R15:=(REF(R14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R16:=(REF(R15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R17:=(REF(R16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R18:=(REF(R17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R19:=REF(RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,1) AND R1; R1A:=((REF(R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC,1)) AND RD); VAR3:=IF(C<200 ,MA(COST(80),3),2500),NODRAW; VAR4:=(((HIGH + LOW) + CLOSE) / 3); VAR5:=EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),2330); VAR6:=(VAR5 + ((VAR5 * 6) / 100)); 短买春:=R19,NODRAW,COLOR00DD00; 秋离场:=R1A,NODRAW,COLOR2288EE; 红持股:=R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC,NODRAW,COLOR0000FF; 阴观望:=RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,NODRAW,COLOR999999; 急速超跌关注:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORBBBBBB,NODRAW; 离场:=IF(红持股,JRL,DRAWNULL); 明离场价:=离场,COLORFF99FF,NODRAW; 今离场价:=REF(离场,1)COLOR0000FF,NODRAW; 进:=IF(阴观望,JRH,DRAWNULL); 明进场价:=进,COLOR33AACC,NODRAW; 今进场价:=REF(明进场价,1),COLOR00FF00,NODRAW; 大雪:=MA((((HIGH + LOW) + CLOSE) / 3),8); 无痕:=MA((((HIGH + LOW) + CLOSE) / 3),21); VAR111:=EMA(((OPEN + CLOSE) / 2),26); VAR222:=IF(C<200 , MA(COST(30),3),2300),NODRAW; 天下有雪:=IF(C<200 ,MA(COST(50),3),2300); 严冬:=ISLASTBAR AND (VAR4 > 0.1),COLORFFFFFF,NODRAW; 早春:=ISLASTBAR AND (((((VAR4 < 天下有雪) AND (VAR4 > 无痕)) OR ((VAR4 < VAR5) AND (VAR4 > 无痕))) OR ((VAR4 > 无痕) AND (VAR111 > 无痕)))),COLOR00FF00,NODRAW; 初夏:=ISLASTBAR AND ((((((VAR4 > 天下有雪) AND (VAR4 > VAR111)) AND (VAR4 > VAR5)) AND (VAR222 > REF(VAR222,1))) OR ((((VAR4 > VAR222) AND (VAR4 > VAR111)) AND (VAR4 > VAR5)) AND (VAR222 > REF(VAR222,1))))), COLOR0000FF,NODRAW; 深秋:=ISLASTBAR AND (((((VAR4 > VAR6) AND (VAR4 > VAR3)) AND (大雪 > 无痕)) AND (VAR111 > REF(VAR111,1)))),COLOR00FFFF,NODRAW; SAAA:=(3*C+H+L+O)/6; SVAR1:=(8*SAAA+7*REF(SAAA,1)+6*REF(SAAA,2) +5*REF(SAAA,3)+4*REF(SAAA,4)+3*REF(SAAA,5)+2*REF(SAAA,6)+REF(SAAA,8))/36; SVAR2:=(HHV(SVAR1,5)+HHV(SVAR1,10)+HHV(SVAR1,20))/3; SVAR3:=(LLV(SVAR1,5)+LLV(SVAR1,10)+LLV(SVAR1,20))/3; SVAR4:=(HHV(SVAR2,5)+HHV(SVAR2,10)+HHV(SVAR2,20))/3; SVAR5:=(LLV(SVAR3,5)+LLV(SVAR3,10)+LLV(SVAR3,20))/3; SVAR6:=(LLV(SVAR1,2)+LLV(SVAR1,4)+LLV(SVAR1,6))/3; Q1:=CONST(IF(短买春,0,IF(秋离场,150,IF(红持股,200,IF(急速超跌关注,150,100))))),NODRAW; Q2:=CONST(IF(短买春,80,IF(秋离场,100,IF(红持股,0,IF(急速超跌关注,150,100))))),NODRAW; Q3:=CONST(IF(短买春,0,IF(秋离场,20,IF(红持股,70,IF(急速超跌关注,150,100))))),NODRAW; DRAWGBK(C>0,RGB(Q1,Q2,Q3),RGB(0,50,50),0,' ',0); STICKLINE(ISLASTBAR AND (红持股 OR REF(红持股,1)=1),今离场价,今离场价,35,1),COLOR0000FF; STICKLINE(ISLASTBAR AND (阴观望 OR REF(阴观望,1)=1),今进场价,今进场价,35,1),COLOR00FF00; AA:=IF(C>=REF(C,3),1,0); BB:=IF(C>=REF(C,5),1,0); CC:=IF(C>=REF(C,7),1,0); DD:=IF(C>=REF(C,8),1,0); EE:=IF(C>=REF(C,13),1,0); FF:=IF(C>=REF(C,21),1,0); GZ2:=AA+BB+CC+DD+EE+FF; NN:=90; 最高:=CONST(HHV(H,NN)); 最低:=CONST(LLV(L,NN)); RCC:=最高*0.9-(最高-最低); RCC1:=最高-(最高-最低)/2; RHL:=RCC; HLMAX:=最高; HLMIN:=最低; HLMN1:=(HLMAX+HLMIN)/2; HLMN2:=HLMAX-HLMIN; HLMN3:=(100-0)/2*1.3; HLMN4:=(100-0)/1*1.3; DI:=EMA(C,3)-EMA(C,13); DE:=EMA(DI,9); MACD1:=2*(DI-DE)*10; DI2:=EMA(C,5)-EMA(C,26); DEA2:=EMA(DI2,9); MACD2:=2*(DI2-DEA2)*10; DIFF3:=EMA(C,7)-EMA(C,89); DEA3:=EMA(DIFF3,21); MACD3:=2*(DIFF3-DEA3)*10; MMACD5:=MA(MACD3,3); M3:=IF(MACD3<0,-MACD3,DRAWNULL)LINETHICK4,COLOR646400,NODRAW; M2:=IF(MACD2<0,-MACD2,DRAWNULL)LINETHICK4,COLOR333333; M1:=IF(MACD1<0,-MACD1,DRAWNULL); MM3:=IF(MACD3>0,MACD3,DRAWNULL),NODRAW; MN1:=HHV(MM3,90); MN2:=HHV(M3,90); MMM:=CONST(MAX(MN1,MN2)); DRAWBAND((M3)/N+RCC1,RGB(100,100,100),0+RCC1,DRAWNULL); DRAWBAND((M2)/N+RCC1,RGB(00,100,100),0+RCC1,DRAWNULL); DRAWBAND((M1)/N+RCC1,RGB(150,100,50),0+RCC1,DRAWNULL); DRAWBAND((MM3)/N+RCC1,RGB(0,200,0),0+RCC1,DRAWNULL); STICKLINE(MACD2>=0,+RCC1,(MACD2)/N+RCC1,4,0),COLOR999999; STICKLINE(MACD2>=0,+RCC1,((MACD2)/N+RCC1)*0.998,3,0),COLOR666666; STICKLINE(MACD1>=0 AND MACD1<REF(MACD1,1),RCC1,((MACD1)/N+RCC1) ,3,0),COLOR777777; STICKLINE(MACD1>=0 AND MACD1>=REF(MACD1,1),RCC1,(MACD1)/N+RCC1,4,0),COLOR999999; STICKLINE(MACD1>=0 AND MACD1>=REF(MACD1,1),RCC1,((MACD1)/N+RCC1)*0.998,3,0),COLOR888888; MM:=-M3*0.3; MMA:=IF(MACD3>=0,MACD3,-MACD3); DRAWBAND((0+RCC1),RGB(0,50,0),(-MMA*0.3)/(N+2)+RCC1,DRAWNULL); IF(MACD3>0,-2/(N+2)+RCC1,DRAWNULL),COLORFFFF00,POINTDOT; IF(C>0,-1/(N+2)+RCC1,-2/(N+2)+RCC1),COLORFFFF00,POINTDOT; 小花买入:IF(MACD1>=0 AND REF(MACD1,1)<0,1/(N+2)+RCC1,DRAWNULL),CROSSDOT,LINETHICK6,COLORFF33FF; IF(MACD1>=0 AND REF(MACD1,1)<0,1/N+RCC1,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF; 白帆买入:STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,(MACD3*1.1)/(N+2)+RCC1,(MACD3*1.05-0.1)/(N+2)+RCC1,16,0),COLORLIRED; STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,(MACD3*1.05-0.1)/(N+2)+RCC1,(MACD3*0.8+0 )/(N+2)+RCC1,5,0),COLORCCCCCC; VVAR1:=EMA(CLOSE,3)-EMA(CLOSE,6)-(EMA(CLOSE,6)-EMA(CLOSE,12))*(-100); VVAR2:=EMA(VVAR1,3); VVAR5:=CROSS(VVAR1,VVAR2); VVAR6:=CROSS(VVAR2,VVAR1); M5:= EMA(CLOSE,5); M10:= EMA(CLOSE,10); M30: MA(CLOSE,30); M60: MA(CLOSE,60); AA10:MA(CLOSE,8),COLOR00FF00; AA12:MA(CLOSE,12),COLOR0000FF; 乖离5:=(C-M5)/M5*100; 斜率5:=ATAN((M5/REF(M5,1)-1)*100)*57.29583; 速度5:=SMA(EMA((M5-REF(M5,1))/REF(M5,1),3)*100,3,1); 加速度5:=EMA((速度5-REF(速度5,1)),3); 斜率10:=ATAN((M10/REF(M10,1)-1)*100)*57.29583; 乖离30:=(C-M30)/M30*100; 斜率30:=ATAN((M30/REF(M30,1)-1)*100)*57.29583; 强势狙击:=FILTER(斜率30>30 AND 斜率10>45 AND CROSS(斜率5,60),10); 加仓:=FILTER(COUNT(CROSS(斜率5,30),5)>=1 AND M5>REF(M5,1) AND 乖离30>REF(乖离30,1) AND M10>REF(M10,1) AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ; JC:=CROSS(0,乖离5) AND 乖离30<REF(乖离30,1) AND M10>REF(M10,1) ; 减仓:=FILTER(JC,10); MR:=COUNT(CROSS(乖离5,0),3)>=1 AND 乖离30>REF(乖离30,1) AND M5>REF(M5,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<M30; 买入:=FILTER(MR,10) OR FILTER(KKK=0 AND GZ2>0 AND C>REF(C,1),10); 清仓:=FILTER(COUNT(CROSS(30,斜率5),5)>=1 AND (C>M30 OR O>M30) AND M5<REF(M5,1) AND 乖离30<REF(乖离30,1) AND M10<REF(M10,1),10) OR FILTER((KKK=6 AND GZ2<6),10); DRAWICON(买入 OR 强势狙击 OR 加仓,LOW*0.995,1); DRAWICON(减仓 OR 清仓,HIGH*1.005,2); DRAWKLINE(H,O,L,C); STICKLINE(VVAR6,OPEN,CLOSE,2.8,0), COLORBLUE; STICKLINE(VVAR5,OPEN,CLOSE,2.8,0), COLORYELLOW; STICKLINE(VVAR5,OPEN,CLOSE-(CLOSE-OPEN)*0.33,2.8,0), COLORAACCDD; STICKLINE(VVAR5,OPEN,CLOSE-(CLOSE-OPEN)*0.66,2.8,0), COLORRED; 副图公式3 {同舟共舞} 主买:=CONST("FSKYYZ.主买#DAY"),NODRAW; 前量:=CONST("FSKYYZ.前量#DAY"); 前主:=CONST("FSKYYZ.前主#DAY"); 昨量:=CONST("FSKYYZ.昨量#DAY"),NODRAW; 昨主:=CONST("FSKYYZ.昨主#DAY"); 今量:=CONST("FSKYYZ.今量#DAY"),NODRAW; 前4:=CONST("FSKYYZ.前4#DAY"); 主4:=CONST("FSKYYZ.主4#DAY"); 前5:=CONST("FSKYYZ.前5#DAY"); 主5:=CONST("FSKYYZ.主5#DAY"); CMM:=MAX(前5,前4),NODRAW; BMM1:=MAX(前量,昨量),NODRAW; BMM:=MAX(CMM,BMM1),NODRAW; AMM:=IF(今量/BMM>2,今量,BMM),NODRAW; MM:=CONST(500/AMM),NODRAW; DIFF := EMA(CLOSE,12) - EMA(CLOSE,26); DEA :=EMA(DIFF,9); MACD :=1000* (2*(DIFF-DEA))/EMA(C,30); VARA:=EMA(REF(CLOSE,1),4); 色彩峰:=(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100); 准备:=色彩峰<3.5,COLORDBDBDB; 出航:=FILTER(MACD<0 AND MACD>REF(MACD,1) AND 色彩峰<20,5), COLORBROWN; 飞燕:=CROSS(色彩峰,90),COLOR00FF00; 回归:=CROSS(色彩峰,90),COLORDBDBDB; {DRAWGBK(C>0,RGB(0,0,180),RGB(0,120,120),0,' ',0);} STICKLINE(色彩峰,0,120,10,0),COLOR8BA400; STICKLINE(色彩峰,0,90,10,0),COLOR8BA433; STICKLINE(色彩峰,0,75,10,0),COLOR8BA466; STICKLINE(色彩峰,0,60,10,0),COLOR8BA488; STICKLINE(色彩峰,0,50,10,0),COLOR8BA4AA; STICKLINE(色彩峰,0,40,10,0),COLOR8BA4BB; STICKLINE(色彩峰,0,35,10,0),COLOR8BA4CC; STICKLINE(色彩峰,0,25,10,0),COLOR8BA4EE; STICKLINE(色彩峰,0,15,10,0),COLOR8BA5FF; STICKLINE(色彩峰,0,-50,10,0),COLOR8BA433; STICKLINE(色彩峰,0,-30,10,0),COLOR8BA444; STICKLINE(色彩峰,0,-10,10,0),COLOR8BA455; STICKLINE(色彩峰,0,-5,10,0),COLOR8BA466; STICKLINE(色彩峰>0,0,色彩峰,10,0),COLOR66FF00; STICKLINE(色彩峰>0,0,色彩峰*0.9,10,0),COLOR66EE00; STICKLINE(色彩峰>0,0,色彩峰*0.8,10,0),COLOR66CC00; STICKLINE(色彩峰>0,0,色彩峰*0.7,10,0),COLOR66AA00; STICKLINE(色彩峰>0,0,色彩峰*0.6,10,0),COLOR668800; STICKLINE(色彩峰>0,0,色彩峰*0.5,10,0),COLOR666600; STICKLINE(色彩峰>0,0,色彩峰*0.4,10,0),COLOR664400; STICKLINE(色彩峰>0,0,色彩峰*0.3,10,0),COLOR662200; STICKLINE(色彩峰,0,-色彩峰*0.2,10,0),COLOR324D00; RSV:= (CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100; FASTK:=SMA(RSV,3,1); 龙K:=SMA(FASTK,2,1); 龙D:=SMA(龙K,5,1); 狗:=LLV(LOW,10); 年:=HHV(H,25); 到来:=EMA((C-狗)/(年-狗)*4,4); 恭喜:STICKLINE(CROSS(到来,0.3),-50,-30,3,0), COLOR00AAFF,LINETHICK1; STICKLINE(CROSS(到来,0.3),-40,-30,3,0),COLORRED,LINETHICK1; 发财:STICKLINE(CROSS(3.5,到来),100,120,2,0), COLORRED,LINETHICK2; STICKLINE(CROSS(3.5,到来),110,120,2,0),COLORYELLOW,LINETHICK2; 龙行凤影:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1) -2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27) -LLV(LOW,27))*100,5,1),3,1),LINETHICK0; 双起双飞:IF(龙行凤影<=10,-30,-50),COLOR0000FF,LINETHICK2; DD:=IF(MACD>=0,MACD,DRAWNULL); LL:=IF(MACD<0,-MACD,DRAWNULL); STICKLINE(DD,0,DD,3.8,0),COLOREAEAEA; STICKLINE(DD AND DD>REF(DD,1),DD*0.1,DD*0.9,2.5.0,0),COLOR666666; STICKLINE(DD AND DD>=15 AND DD>REF(DD,1),DD*0.7,DD*0.7,2.5,1),COLOREAEAEA; STICKLINE(DD AND DD>=15 AND DD>REF(DD,1),DD*0.5,DD*0.5,2.5,1),COLOREAEAEA; STICKLINE(DD AND DD>=15 AND DD>REF(DD,1),DD*0.3,DD*0.3,2.5,1),COLOREAEAEA; STICKLINE(DD AND DD<REF(DD,1),DD*0.1,DD*0.9,2.8,1),COLOR57E000; STICKLINE(DD AND DD>=15 AND DD<REF(DD,1),DD*0.7,DD*0.7,2.5,1),COLOR666666; STICKLINE(DD AND DD>=15 AND DD<REF(DD,1),DD*0.5,DD*0.5,2.5,1),COLOR666666; STICKLINE(DD AND DD>=15 AND DD<REF(DD,1),DD*0.3,DD*0.3,2.5,1),COLOR666666; STICKLINE(LL AND LL<REF(LL,1),0,LL,0,0),COLOREAEAEA; STICKLINE(龙K>=龙D,龙D,龙K,3,0),COLOR000085; STICKLINE(龙K<龙D,龙D,龙K,3,0),COLOR324800; DRAWTEXT(准备,-10,'ャ'),COLORDBDBDB; DRAWTEXT(准备,-10,'︼'),COLOR688EC1; DRAWTEXT(CROSS( 0,MACD)AND 色彩峰>75,110,'☆'),COLORFFFFFF; DRAWTEXT(飞燕,70,'ヲ'),COLORDBDBDB; DRAWTEXT(出航,-10,'Ψ'), COLORBROWN; 红红的天:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1) -2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27) -LLV(LOW,27))*100,5,1),3,1); IF(CROSS(红红的天,2),70,-50),COLOR0000FF; 有心就有:IF(CROSS(红红的天,2),70,DRAWNULL),CROSSDOT,LINETHICK6,COLORFF77FF; 好运!:IF(CROSS(红红的天,2),70,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF; KP:=DYNAINFO(4); ZX:=DYNAINFO(7); A1:=IF(主买>=今量/2,255,255); A2:=IF(主买>=今量/2,0,0); A3:=IF(主买>=今量/2,0,255); DRAWRECTREL(0,250,MM*今量,280,RGB(0,250,250)); DRAWRECTREL(0,250,MM*主买,280,RGB(A1,A2,A3)); DRAWRECTREL(0,250,MM*ABS(主买-(今量-主买)),280,RGB(A3,255,00)); ZO:=CONST("FSKY.ZO#DAY"); ZC:=CONST("FSKY.ZC#DAY"); A4:=IF(昨主>=昨量/2,255,255); A5:=IF(昨主>=昨量/2,0,0); A6:=IF(昨主>=昨量/2,0,255); DRAWRECTREL(0,200,MM*昨量,230,RGB(0,250,250)); DRAWRECTREL(0,200,MM*昨主,230,RGB(A4,A5,A6)); DRAWRECTREL(0,200,MM*ABS(昨主-(昨量-昨主)),230,RGB(A6,255,00)); JO:=CONST("FSKY.JO#DAY"); JC:=CONST("FSKY.JC#DAY"); A7:=IF(前主>=前量/2,255,255); A8:=IF(前主>=前量/2,0,0); A9:=IF(前主>=前量/2,0,255); DRAWRECTREL(0,150,MM*前量,180,RGB(0,250,250)); DRAWRECTREL(0,150,MM*前主,180,RGB(A7,A8,A9)); DRAWRECTREL(0,150,MM*ABS(前主-(前量-前主)),180,RGB(A9,255,00)); JO3:=CONST("FSKY.JO3#DAY"); JC3:=CONST("FSKY.JC3#DAY"); A10:=IF(主4>=前4/2,255,255); A11:=IF(主4>=前4/2,0,0); A12:=IF(主4>=前4/2,0,255); DRAWRECTREL(0,100,MM*前4,130,RGB(0,250,250)); DRAWRECTREL(0,100,MM*主4,130,RGB(A10,A11,A12)); DRAWRECTREL(0,100,MM*ABS(主4-(前4-主4)),130,RGB(A12,255,00)); JO4:=CONST("FSKY.JO4#DAY"); JC4:=CONST("FSKY.JC4#DAY"); A13:=IF(主5>=前5/2,255,255); A14:=IF(主5>=前5/2,0,0); A15:=IF(主5>=前5/2,0,255); DRAWRECTREL(0,50,MM*前5,80,RGB(0,250,250)); DRAWRECTREL(0,50,MM*主5,80,RGB(A13,A14,A15)); DRAWRECTREL(0,50,MM*ABS(主5-(前5-主5)),80,RGB(A15,255,00)); L1:=(CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*200-60; 凤K:SMA(L1,3,1),COLORAACCAA; 凤D:SMA(凤K,3,1),COLORAACCAA;
- 上一篇:乔峰D2015 2015/8/18
- 下一篇:超级稳定盈利选股指标,公开源码 2015/8/18