求高手将大智慧附图修改成通达信附图指标,源码和参数如下:

2024-11-25 22:58:56
推荐回答(1个)
回答1:

MID:= MA(CLOSE,20);
UPPER:=MID + 2*STD(CLOSE,20);
LOWER:=MID - 2*STD(CLOSE,20);
BB:(C-LOWER)/(UPPER-LOWER)*100,COLORGREEN;
IF(BB>=REF(BB,1),BB,DRAWNULL),COLORRED;
IF(BB<=REF(BB,1),BB,DRAWNULL),COLORGREEN;
0,DOTLINE;
100,DOTLINE;
50,DOTLINE;
STICKLINE(BB>100,BB,100,2,0),COLORYELLOW;
STICKLINE(BB<0,0,BB,2,0),COLORRED;
DRAWTEXT_FIX(1,0,0,0,'︻┻═┳一 '),COLORRED;
K:MA(BB,5),COLORGREEN;
IF(K>=REF(K,1),K,DRAWNULL),COLORRED;
IF(K<=REF(K,1),K,DRAWNULL),COLORGREEN;