커뮤니티
수식변환요청드립니다
2025-09-07 03:16:22
99
글번호 193761
수고많습니다 키움수식을 지표로 부탁드립니다
수식1
smoothadd=ma_length+if(smoothingbool,ma_lengthsmoothing,0);
ms=if(ma_type == 1,ma(c,smoothadd),
if(ma_type == 2,eavg(c,smoothadd),
if(ma_type == 3,ma(c,smoothadd,가중),eavg(c,smoothadd))));
ms
수식2
if(ms(1)
지표
답변 1

예스스탁 예스스탁 답변
2025-09-08 14:41:54
안녕하세요
예스스탁입니다.
input : ma_length(90),ma_lengthSmoothing(25),smoothingBool(0),ma_type(1);
var : smoothADD(0),ms(0);
smoothADD = ma_length + iff(smoothingBool==1, ma_lengthSmoothing, 0);
MS = iff(ma_type == 1, ma(C, smoothADD),
iff(ma_type == 2, Ema(C, smoothADD),
iff(ma_type == 3, wma(C, smoothADD), Ema(C, smoothADD))));
Plot1(ms);
if ms[1] < ms Then
plot2(ms);
Else
NoPlot(2);
if ms[1] < ms Then
plot3(ms);
Else
NoPlot(3);
즐거운 하루되세요
> 달오 님이 쓴 글입니다.
> 제목 : 수식변환요청드립니다
> 수고많습니다 키움수식을 지표로 부탁드립니다
수식1
smoothadd=ma_length+if(smoothingbool,ma_lengthsmoothing,0);
ms=if(ma_type == 1,ma(c,smoothadd),
if(ma_type == 2,eavg(c,smoothadd),
if(ma_type == 3,ma(c,smoothadd,가중),eavg(c,smoothadd))));
ms
수식2
if(ms(1)