等级: 新手上路
- 注册:
- 2021-12-17
- 曾用名:
|
楼主 |
发表于 2021-12-21 09:36
|
显示全部楼层
原公式 有一条高高低低的曲线
N:=barslast(day<>ref(day,1))+1;
bs1:=if(n=1 ,qt,qt-ref(qt,1)),linethick2,colorgreen,noaxis;
bs:=if(bs1<=ref(llv(bs1,1000),1),ref(llv(bs1,1000),1),bs1),linethick2,colorgreen,noaxis;
jl:=vol/bs1,COLORblue,linethick2,noaxis;
5bs:STKINDI('','bishu.bs',0,2,0),linethick1,colorGREEN;
按老师改的语句修改后,一条直线
N:=barslast(day<>ref(day,1))+1;
bs1:=if(n=1 ,qt,qt-ref(qt,1)),linethick2,colorgreen,noaxis;
bs:=if(bs1<=ref(llv(bs1,1000),1),ref(llv(bs1,1000),1),bs1),linethick2,colorgreen,noaxis;
jl:=vol/bs1,COLORblue,linethick2,noaxis;
temp:=STKINDI('','macd.macd1',0,1,0),linethick1,colorGREEN;
5bs:if(not(ISLASTBAR),TEMP,DRAWNULL);
|
|