커뮤니티
문의 합니다.
2015-03-30 17:40:44
171
글번호 84534
아래의 청산식 중에서
ma(range,4)*mult; 가 의미하는 바를 설명하여 주시면 감사 하겠습니다.
#청산
mp = marketposition;
if MP == 1 and MP[1] <> 1 then Begin
StopPrice = low - ma(range,4)*mult;
end;
if MP == -1 and MP[1] <> -1 then begin
StopPrice = High + ma(range,4)*mult;
end;
If MP == 1 then begin
exitlong ("ExitLong", atstop,stopprice );
stopprice = stopprice +( low-stopprice )/Div;
end;
If MP == -1 then begin
exitshort ("Exitshort", atstop,stopprice);
stopprice = stopprice - (stopprice-high)/Div;
end;
답변 1
예스스탁 예스스탁 답변
2015-03-30 17:43:59
안녕하세요
예스스탁입니다.
Range = H - L;
Range는 고가와 저가의 차이로 각봉의 변동폭입니다.
ma(range,4)*mult
최근 4개봉의 변동폭의 mult배수 값을 의미합니다.
mult가 0.5이면
최근 4개봉 변동폭의 절반을 나타냅니다.
즐거운 하루되세요
> 너무조아 님이 쓴 글입니다.
> 제목 : 문의 합니다.
> 아래의 청산식 중에서
ma(range,4)*mult; 가 의미하는 바를 설명하여 주시면 감사 하겠습니다.
#청산
mp = marketposition;
if MP == 1 and MP[1] <> 1 then Begin
StopPrice = low - ma(range,4)*mult;
end;
if MP == -1 and MP[1] <> -1 then begin
StopPrice = High + ma(range,4)*mult;
end;
If MP == 1 then begin
exitlong ("ExitLong", atstop,stopprice );
stopprice = stopprice +( low-stopprice )/Div;
end;
If MP == -1 then begin
exitshort ("Exitshort", atstop,stopprice);
stopprice = stopprice - (stopprice-high)/Div;
end;
다음글
이전글