{喻峰副图1号:上部红色区段为多头行情,多买少卖;下部青色区段为空头行情,多卖少买。
两色块转换处即为买卖信号:青转红买入;红转青卖出。}
MACD:"MACD.MACD",NODRAW;
K:"KDJ.K",NODRAW;
D:"KDJ.D",NODRAW;
J:"KDJ.J",NODRAW;
MKDJ:=HHV(ABS(MACD),20)/HHV(ABS(MACD),60);
DRAWBAND((J-50)*MKDJ+50,RGB(255,0,0),(K-50)*MKDJ+50,RGB(0,255,255));
DRAWBAND((K-50)*MKDJ+50,RGB(255,95,0),(D-50)*MKDJ+50,RGB(15,45,75));