言实 发表于 2010-6-10 16:57

向楼主学习,谢谢楼主!

来学习的 发表于 2010-6-10 20:20

诚恳谢谢...............................

广州斌 发表于 2010-6-10 20:27

谢谢楼主分享!!!

雪雕 发表于 2010-6-10 20:49

回复 29# 人云亦云

美人眼信号出现不准呀可以改进一下的

李旺 发表于 2010-6-10 20:57

short short short

李旺 发表于 2010-6-10 21:03

市日年:FINANCE(42),,NODRAW,COLORRED;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACDDIF-DEA)*2,COLORSTICK;
{}
AH:HHV(DIF,55),COLOR6600FF,LINETHICK2;
ALLV(DIF,55),COLOR248A24,LINETHICK2;
VAR1:=HHV(DEA,53);
VAR2:=LLV(DEA,30);
VAR3:=DEA-(DIF-DEA);
UP:IF(DIF>VAR1 AND DEA=VAR1,MAX(LLV(VAR1,10),VAR3),VAR1),COLORBB9A00;
DN:IF(DIF<VAR2 AND DEA=VAR2,MIN(HHV(VAR2,10),VAR3),VAR2),COLORAA00BB,LINETHICK2;
美人眼:=CROSS(DIF ,DEA ) AND CROSS( DIF,DN ) AND DN<0;
美人眼A:美人眼*AL,STICK,LINETHICK5,COLOR8080FF;
DRAWTEXT(美人眼,DN,'美人眼'),COLOR8080FF,LINETHICK2;
美人瞎眼:=CROSS(DEA ,DIF ) AND CROSS( UP,DIF ) AND DIF<UP;
美人瞎眼A:美人瞎眼*AH,STICK,LINETHICK5,COLOR9CA010;
DRAWTEXT(美人瞎眼,DN,'美人瞎眼'),COLOR9CA010,LINETHICK2;
{}
{绿色}
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2.5,0 ),COLOR008800;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1.5,0 ),COLOR009900;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0.5,0 ),COLOR00AA00;
{红色}
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2.5,0 ),COLOR000088;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1.5,0 ),COLOR000099;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,0.5,0 ),COLOR0000AA;
{黄色}
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2.5,0 ),COLOR338FDD;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.5,0 ),COLOR339FDD;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,0.5,0 ),COLOR33AFDD;
{兰色}
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2.5,0 ),COLORFF4400;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.5,0 ),COLORFF6600;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,0.5,0 ),COLORFF7700;

无聊的游客 发表于 2010-6-11 14:31

:handshake

正品 发表于 2010-6-12 17:12

MACD美人眼 long 26   m9   short 12}
DIFF1:=EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA1:=EMA(DIFF1,M);
MACD:=2*(DIFF1-DEA1);
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),colorff00ff,linethick2;
DEA: EMA(DIFF1,M),colorwhite,linethick2;
AH:HHV(DIFF1,55),COLOR6600ff,linethick2,layer0;
PARTLINE(ah,ah),COLORWHITE,POINTDOT,linethick2,layer0;
DRAWICON( ref(aH=diff1,1) and DIFF<REF(DIFF1,1),AH,8),ALIGN1;
AL:LLV(DIFF1,55),COLOR248a24,linethick2,layer0;
PARTLINE(al,Al),COLORWHITE,POINTDOT,linethick2,layer0;
DRAWICON( ref(al=diff1,1) and DIFF>REF(DIFF1,1),al,7),ALIGN1;
{●60零上金叉:IF(CROSS(DIFF,DEA) AND DIFF>0,0.3,0),COLOR6600ff,POINTDOT;
STICKLINE(●60零上金叉,DIFF,ah,4,0),COLOR6600ff;}
■零下金叉:IF(CROSS(DIFF,DEA) AND DIFF<-0.001,0.3,0),COLORWHITE,POINTDOT;
STICKLINE(■零下金叉,0.1,0.15,6,0),COLORWHITE;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
■二次金叉:IF(CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,0.2,0),COLOR3C86CC,POINTDOT;
STICKLINE(■二次金叉,0.15,0.2,6,0),COLOR3C86CC;
A3:=CROSS(DIFF,DEA) AND DEA<0;
■零下二次金叉:IF(FILTER(COUNT(A3,21)=2,10

股道_寒风 发表于 2010-6-12 21:43

谢谢分享,代码中的表情可以在回复时选相应表情 就知道表情代码了。
在导公式时就不会报错了.记得还要写参数 long 26   m9   short 12

金沙渡 发表于 2010-6-12 22:34

很好很好很很好很好很好好

无权过问 发表于 2010-6-13 03:42

谢谢楼主 好东西

无权过问 发表于 2010-6-13 03:44

:) 祝楼主财运亨通

无权过问 发表于 2010-6-13 03:47

:L :(   看看 谢谢

天天打击 发表于 2010-6-13 22:09

.你的帖子太棒了!!谢谢。。认真学习中。。。。。。。。

nzq518 发表于 2010-6-13 23:08

谢谢提供!是通达信还是大智慧用呢?
页: 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20
查看完整版本: MACD最新用法“美人眼”