求高手编个通达信主图公式要求如下:

2024-12-03 07:53:25
推荐回答(2个)
回答(1):

收盘线:C;
A1:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;
B1:(MA(C,5)+MA(C,10)+MA(C,20)+MA(C,40))/缓慧行4;
C1:(MA(C,15)+MA(C,30)+MA(C,60)+MA(C,120))/4;
DRAWTEXT(CROSS(C,A1),L,'买扰哗20%');
DRAWTEXT(CROSS(C,B1),L,'碧虚加50%');
DRAWTEXT(CROSS(C,C1),L,'满仓');
DRAWTEXT(CROSS(A1,C),L,'减50%');
DRAWTEXT(CROSS(B1,C),L,'减70%');
DRAWTEXT(CROSS(C1,C),L,'清仓');

回答(2):

A1:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;
B1:(MA(C,5)+MA(C,10)+MA(C,20)+MA(C,40))/4;
C1:(MA(C,15)+MA(C,30)+MA(C,60)+MA(C,120))/4;
DRAWTEXT(CROSS(C,A1),L*0.92,'买20%'森肆扰),COLORRED;
DRAWTEXT(CROSS(C,B1),L*0.92,'加50%'),COLORRED;
DRAWTEXT(CROSS(C,C1),L*0.92,'满仓'),COLORRED;
DRAWTEXT(CROSS(A1,C),H*1.08,'减50%'),COLORGREEN;
DRAWTEXT(CROSS(B1,C),H*1.08,'减70%'),COLORGREEN;
DRAWTEXT(CROSS(C1,C),H*1.08,'此旦清雹尺仓'),COLORGREEN;