beyond202104 发表于 2023-8-28 16:45:30

财神主图,红上箭头买入(通达信公式 主图 源码 测试图)

公式使用方法:红上箭头买入,绿下箭头卖出 此主图配合通天塔幅图指标使用成功率高无未来函数


{财神主图}

V5:=MA((LOW+HIGH+CLOSE)/3,5);MA3:MA(C,3);MA5:MA(C,5),COLORWHITE;MA30:MA(C,34),NODRAW;MA10:=MA(C,10),NODRAW;KU1:=IF(HIGH=HHV(HIGH,3),1,0);KD1:=IF(LOW=LLV(LOW,3),1,0);五日乖离率:=(C-MA5)/MA5*100;BB5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;DD5:=MA5 < REF(MA5,1);X:=(3*C+L+O+H)/6;UL:=IF(REF(KU1,2)=1 AND REF(KU1,1)=0 AND KU1=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(KU1,2)=1 AND REF(KU1,1)=0 AND KU1=0)));多空线: (20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X, 4)+15*REF(X,5)+14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X, 9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)+7*REF(X,13)+6*REF(X, 14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X, 18)+REF(X,20))/210,COLORFF00FF,LINETHICK1;DD:=多空线 < REF(多空线,1);A:=(MA5 > 多空线);A1:=(MA5 < 多空线);A2:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100, 5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;A5:=EMA(CLOSE,12)-EMA(CLOSE,26);A6:=EMA(A5,9);A7:=(A5 < -0.1 AND A5 > A6);V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));CYS:=(EMA((CLOSE-V2)/V2,1)*100);AA:=CYS;MIDD:=MA(CYS,20);CC:=MIDD+0.85*STD(CYS,10);TM6:=AA > CC;A0:=(L+H+C*2)/4;工作:=EMA(A0,14)COLORYELLOW,LINETHICK1;度假:=EMA(A0,25)COLORYELLOW,LINETHICK1;A1X:=(工作-REF(工作,1))/REF(工作,1)*100;A2X:=(度假-REF(度假,1))/REF(度假,1)*100;G:=BARSLAST(CROSS(A1X,0));RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);DL:=IF(REF(KD1,2)=1 AND REF(KD1,1)=0 AND KD1=0,REF(LOW,2),REF(LOW,2+BARSLAST(REF(KD1,2)=1 AND REF(KD1,1)=0 AND KD1=0)));HV:=H > UL AND H > REF(H,1);LV:=L < DL AND L < REF(L,1);IF(BB5 > 30 AND MA5 > REF(MA5,1), MA5,DRAWNULL),LINETHICK1,COLORRED;IF(BB5 < 0 AND MA5 < REF(MA5,1), MA5,DRAWNULL),LINETHICK1,COLORGREEN;IF(DD5,MA5,DRAWNULL),COLOR00FF00;IF(DD,多空线,DRAWNULL),COLORBLUE,LINETHICK2;IF(A,多空线,DRAWNULL),COLORYELLOW,POINTDOT;IF(A1,多空线,DRAWNULL),COLORWHITE;财神:IF(A7,LLV(L,21),DRAWNULL)COLORRED,CIRCLEDOT;IF(TM6,MA5,DRAWNULL),COLORRED,LINETHICK1;STICKLINE(CLOSE > REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,4,-1),COLOR00FFFF;STICKLINE(CLOSE < REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,4,-1),COLORGREEN;STICKLINE(OPEN >=CLOSE,CLOSE,OPEN,3,0),COLORFF7700;STICKLINE(OPEN >=CLOSE,CLOSE,OPEN,2.2,0),COLORFF9900;STICKLINE(OPEN >=CLOSE,CLOSE,OPEN,1.5,0),COLORFFBB00;STICKLINE(OPEN >=CLOSE,CLOSE,OPEN,0.5,0),COLORCYAN;STICKLINE(CLOSE > OPEN,CLOSE,OPEN,3,0),COLOR000099;STICKLINE(CLOSE > OPEN,CLOSE,OPEN,2.2,0),COLOR0000CC;STICKLINE(CLOSE > OPEN,CLOSE,OPEN,1.5,0),COLOR0000FF;STICKLINE(CLOSE > OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;STICKLINE(金叉,OPEN,CLOSE,0.5,0),COLORYELLOW;STICKLINE(死叉,OPEN,CLOSE,0.5,0),COLOR000099;STICKLINE(CROSS(A1X,0),C,O,1,0)COLORFFFFFF;

STICKLINE(CROSS(0,A1X),C,O,1,0)COLORGREEN;




歌助农落按 发表于 2023-9-5 00:20:47

已收藏,以后会常来!

把白天当白天吞 发表于 2023-9-15 19:50:17

一切尽在不言中,谢谢!

wx123458sh2017 发表于 2023-11-24 22:06:23

感谢!

王建忠739 发表于 2024-2-11 18:11:15

我是为了获得花花!

烟织成愁撼 发表于 2024-3-24 13:43:40

内容真的很不错
页: [1]
查看完整版本: 财神主图,红上箭头买入(通达信公式 主图 源码 测试图)