╤╔╡©:STICKLINE(C,75,75,0.5,0.5),COLOR3C3CFF;
╣в╡©:STICKLINE(C,25,25,0.5,0.5),COLORCYAN;
╬Ы╪ш:=(HIGH+LOW+CLOSE)/3;
VAR1:=LLV(LOW,12);
VAR2:=HHV(HIGH,5);
©Лоъ:=EMA((╬Ы╪ш-VAR1)/(VAR2-VAR1)*100,4);
бЩоъ:=EMA(0.667*REF(©Лоъ,1)+0.333*©Лоъ,2);
в╙╣Ц:=IF(©Лоъ бЩоъ,1,0);
╢Сел╬Ы╪ш:=(INDEXH+INDEXL+INDEXC)/3;
N:=28;
╦Ж╧иLC:=REF(╬Ы╪ш,1);
╦Ж╧иеёпэ:SMA(MAX(╬Ы╪ш-╦Ж╧иLC,0),N,1)/SMA(ABS(╬Ы╪ш-╦Ж╧иLC),N,1)*100,COLORWHITE;
DRAWBAND(╦Ж╧иеёпэ,RGB(155,50,50),50,RGB(0,100,50));
LC:=REF(╢Сел╬Ы╪ш,1);
╢Селеёпэ:SMA(MAX(╢Сел╬Ы╪ш-LC,0),N,1)/SMA(ABS(╢Сел╬Ы╪ш-LC),N,1)*100,COLORYELLOW;
Ё╓оъв╙г©:IF(╦Ж╧иеёпэ 50,╦Ж╧иеёпэ,DRAWNULL),COLORRED;
Ё╓оъв╙хУ:IF(╦Ж╧иеёпэ 50,╦Ж╧иеёпэ,DRAWNULL),COLORGREEN;
STICKLINE(в╙╣Ц=1,50,50,2,0),COLORYELLOW;
STICKLINE(в╙╣Ц=0,50,50,2,0),COLORCYAN;