蓝柱是下跌行情,红柱是上涨行情,蓝色线是下跌行情,洋红色线是上涨行情。两组多空信号转折,就看当前是怎样的信号即可。下载是源码文件,指标也有声音预警。大家也可以自行修改代码。适用于文华财经软件,VIP用户在线免费下载
文华财经k线变色公式部分源码:
DRAWLINE3(VAR7>REF(VAR7,1),VAR7,0,1,REF(VAR7,1),1,0),LINETHICK2,COLORFF00FF;
DRAWLINE3(VAR7<REF(VAR7,1),VAR7,0,1,REF(VAR7,1),1,0),LINETHICK2,COLORBLUE;
TOWERC:=FORCAST(EMA((3*CLOSE+2*OPEN+HIGH+LOW)/7,3),6);
DIRECTIONMAX:=MAX(REF(TOWERC,1),REF(TOWERC,1));
DIRECTIONMIN:=MIN(REF(TOWERC,1),REF(TOWERC,1));
STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,DIRECTIONMAX,4,0),COLORFF0000;
STICKLINE(TOWERC<REF(TOWERC,1),TOWERC,DIRECTIONMIN,4,0),COLORBLUE;
REF(CROSS(VAR7>REF(VAR7,1),0.5),1),SOUND(‘A’);
REF(CROSS(VAR7<REF(VAR7,1),0.5),1),SOUND(‘B’);