让这红柱体在一条平行线上显示
让这红柱体在一条平行线上显示
编写条件:
编写方法:
网友求助:
{MACD多周期}
零轴:0;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
周DIF:="MACD.DIF#WEEK"(12,26,9);
周DEA:="MACD.DEA#WEEK"(12,26,9);
STICKLINE("MACD.MACD#WEEK">=0,0,"MACD.MACD#WEEK",2.5,0),COLORLIRED;
STICKLINE("MACD.MACD#WEEK"<0,0,"MACD.MACD#WEEK",2.5,0),COLORLIGREEN;
DRAWBAND(周DIF,RGB(255,200,70),周DEA,RGB(70,100,50));
DRAWBAND(DIF,RGB(155,50,50),DEA,RGB(0,100,50));
{DRAWBAND(DIF,RGB(255,200,70),DEA,RGB(70,100,50));};
MACD:=(DIF-DEA)*2,COLORSTICK;
STICKLINE(MACD>=0,0,MACD,2,0),COLORRED;
STICKLINE(MACD<0,0,MACD,2,0),COLORLICYAN;
零轴:0;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
周DIF:="MACD.DIF#WEEK"(12,26,9);
周DEA:="MACD.DEA#WEEK"(12,26,9);
STICKLINE("MACD.MACD#WEEK">=0,0,"MACD.MACD#WEEK",2.5,0),COLORLIRED;
STICKLINE("MACD.MACD#WEEK"<0,0,"MACD.MACD#WEEK",2.5,0),COLORLIGREEN;
DRAWBAND(周DIF,RGB(255,200,70),周DEA,RGB(70,100,50));
DRAWBAND(DIF,RGB(155,50,50),DEA,RGB(0,100,50));
{DRAWBAND(DIF,RGB(255,200,70),DEA,RGB(70,100,50));};
MACD:=(DIF-DEA)*2,COLORSTICK;
STICKLINE(MACD>=0,0,MACD,2,0),COLORRED;
STICKLINE(MACD<0,0,MACD,2,0),COLORLICYAN;
解答如下:
零轴:0;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
周DIF:="MACD.DIFF#WEEK"(12,26,9);
周DEA:="MACD.DEA#WEEK"(12,26,9);
STICKLINE("MACD.MACD#WEEK">=0,0,"MACD.MACD#WEEK",2.5,0),COLORRED;
STICKLINE("MACD.MACD#WEEK"<0,0,"MACD.MACD#WEEK",2.5,0),COLORGREEN;
FILLRGN(周DIF,周DEA,周DIF>周DEA,RGB(255,200,70),周DIF<周DEA,RGB(70,100,50));
FILLRGN(DIF,DEA,DIF>DEa,RGB(155,50,50),DIF<DEA,RGB(0,100,50));
MACD:=(DIF-DEA)*2;
STICKLINE(MACD>=0,0,MACD,2,0),COLORRED;
STICKLINE(MACD<0,0,MACD,2,0),COLOR00ff00;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
周DIF:="MACD.DIFF#WEEK"(12,26,9);
周DEA:="MACD.DEA#WEEK"(12,26,9);
STICKLINE("MACD.MACD#WEEK">=0,0,"MACD.MACD#WEEK",2.5,0),COLORRED;
STICKLINE("MACD.MACD#WEEK"<0,0,"MACD.MACD#WEEK",2.5,0),COLORGREEN;
FILLRGN(周DIF,周DEA,周DIF>周DEA,RGB(255,200,70),周DIF<周DEA,RGB(70,100,50));
FILLRGN(DIF,DEA,DIF>DEa,RGB(155,50,50),DIF<DEA,RGB(0,100,50));
MACD:=(DIF-DEA)*2;
STICKLINE(MACD>=0,0,MACD,2,0),COLORRED;
STICKLINE(MACD<0,0,MACD,2,0),COLOR00ff00;
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}
【股票资源馆】股票软件破解,大智慧软件破解,通达信软件破解,指南针软件破解,大智慧策略投资终端破解版,大智慧沪深10档L2数据,理想论坛,公式指标编写。
写个股价下跌资金流入的选股公式
写个股价下跌资金流入的选股公式