把“峰谷价势”修改成同花顺公式
把“峰谷价势”修改成同花顺公式
【股票资源馆】炒股教程、黑马股票、股票资讯、期货外汇,大智慧沪深10档破解,高成功率股票指标,策略投资破解,财经股票论坛,东方财富破解版,东方财富专业破解版。
编写条件:
编写方法:
网友求助:
M1 := EMA( CLOSE, 9 );
M2 := EMA( CLOSE, 18 );
MD : M1 - M2, COLORWHITE, LINETHICK3;
MM := EMA( MD, 3 );
吸 : IF( MD >= MM AND MD < 0, MD, DRAWNULL ), COLORLIRED, LINETHICK3;
拉 : IF( MD >= MM AND MD >= 0, MD, DRAWNULL ), COLORRED, LINETHICK3;
派 : IF( MD < MM AND MD >= 0, MD, DRAWNULL ), COLORGREEN, LINETHICK3;
落 : IF( MD < MM AND MD < 0, MD, DRAWNULL ), COLORWHITE, LINETHICK3;
M2 := EMA( CLOSE, 18 );
MD : M1 - M2, COLORWHITE, LINETHICK3;
MM := EMA( MD, 3 );
吸 : IF( MD >= MM AND MD < 0, MD, DRAWNULL ), COLORLIRED, LINETHICK3;
拉 : IF( MD >= MM AND MD >= 0, MD, DRAWNULL ), COLORRED, LINETHICK3;
派 : IF( MD < MM AND MD >= 0, MD, DRAWNULL ), COLORGREEN, LINETHICK3;
落 : IF( MD < MM AND MD < 0, MD, DRAWNULL ), COLORWHITE, LINETHICK3;
解答如下:
M1 := EMA( CLOSE, 9 );
M2 := EMA( CLOSE, 18 );
MD : M1 - M2, COLORWHITE, LINETHICK3;
MM := EMA( MD, 3 );
PARTLINE(MD,MD >= MM AND MD < 0,RGB(255,120,120)), LINETHICK3;
PARTLINE(MD,MD >= MM AND MD >= 0,RGB(250,0,0)), LINETHICK3;
PARTLINE(MD,MD < MM AND MD >= 0,RGB(0,250,0)), LINETHICK3;
PARTLINE(MD,MD < MM AND MD < 0,RGB(230,230,230)), LINETHICK3;
M2 := EMA( CLOSE, 18 );
MD : M1 - M2, COLORWHITE, LINETHICK3;
MM := EMA( MD, 3 );
PARTLINE(MD,MD >= MM AND MD < 0,RGB(255,120,120)), LINETHICK3;
PARTLINE(MD,MD >= MM AND MD >= 0,RGB(250,0,0)), LINETHICK3;
PARTLINE(MD,MD < MM AND MD >= 0,RGB(0,250,0)), LINETHICK3;
PARTLINE(MD,MD < MM AND MD < 0,RGB(230,230,230)), LINETHICK3;
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}炒股教程
前三天分时均价的平均值
前三天分时均价的平均值