annaifu 发表于 2022-2-4 12:14:39

请教大神怎么编辑宝塔线的指标到盘立方

不会编辑,求版主帮忙,下边是文化财经源码
C1:=REF(CLOSE,1);
C2:=REF(CLOSE,2);
C3:=REF(CLOSE,3);
C4:=REF(CLOSE,4);
CMAX:=HHV(CLOSE,4);
CMIN:=LLV(CLOSE,4);
STICKLINE(CLOSE=CMAX && (C1>=C2 || C1>=C3) || C1=CMAX && (C2=CMIN || C3=CMIN)
&& CLOSE>=C2 ||C2=CMAX && C3=CMIN && CLOSE>=C1 || C3=CMAX && CLOSE>=C1&& CLOSE>=C2,C1,CLOSE,COLORRED,1);
STICKLINE(CLOSE=CMAX && C1=CMIN,C2,CLOSE,COLORRED,1);
STICKLINE(CLOSE=CMIN && (C1<C2 || C1<C3) || C1=CMIN && (C2=CMAX || C3=CMAX) && CLOSE<C2 ||
C2=CMIN && C3=CMAX && CLOSE<C1 || C3=CMIN && CLOSE<C1 && CLOSE<C2,C1,CLOSE,COLORGREEN,0);
STICKLINE(C1=CMAX && CLOSE=CMIN,C2,CLOSE,COLORGREEN,0);
STICKLINE(C1=CMIN && CLOSE>=C2 || (C2=CMIN && C1<=C3 ||
C3=CMIN && C1<=C2) && C2<C4 && CLOSE>=C1,C1,C2,COLORGREEN,0);
STICKLINE(C1=CMAX && CLOSE<C2 || (C2=CMAX && C1>C3 ||
C3=CMAX && C1>C2) && C2>=C4 && CLOSE<C1,C1,C2,COLORRED,1);

zhudayong 发表于 2022-2-13 12:27:37

你的变量c1..c4没有定义,找下完整的代码给我留言
页: [1]
查看完整版本: 请教大神怎么编辑宝塔线的指标到盘立方