KDJ背离威廉曲线 源码:周K:EMA("KD.K#WEEK",5),colorred,LINETHICK2;
周D:EMA("KD.D#WEEK",5),coloryellow,LINETHICK2; DRAWBAND(周K,RGB(125,0,0),周D, RGB(0,0,87) ); 日K:"KD.K",colormagenta; 日D:"KD.D",colorgreen,LINETHICK2; J:"KDJ.J",DOTLINE,coloryellow; 威廉:-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))+100,LineDot,colorwhite; 日金:(CROSS(日K,日D) OR CROSS("MACD.DIFF","MACD.DEA") OR CROSS("多弈浮筹.多弈","多弈浮筹.浮筹"))AND 周K>周D,NoDraw; 周金:CROSS(周K,周D) AND (日K>日D OR "MACD.DIFF">"MACD.DEA" OR "多弈浮筹.多弈">"多弈浮筹.浮筹"),NoDraw; DRAWTEXT(周金,周D*0.96,'周金'),colorwhite; DRAWTEXT(日金,日D*0.96,'日金'),coloryellow; DRAWTEXT(CROSS("MACD.DEA","MACD.DIFF") AND 周K>周D,周K*1.26,'DEA叉'),ColorD98719; DRAWTEXT(CROSS("多弈浮筹.浮筹","多弈浮筹.多弈") AND 周K>周D,周K*1.39,'浮筹叉'),Color527F76; |