예스스탁
예스스탁 답변
2025-02-24 14:40:17
안녕하세요
예스스탁입니다.
1.일봉
input : Percent(10),일정배수(1.5);
var : mm(0);
MM=(DayClose(20)+DayClose(19)+DayClose(18)+DayClose(17)+DayClose(16)+DayClose(15)+
DayClose(14)+DayClose(13)+DayClose(12)+DayClose(11)+DayClose(10)+DayClose(9)+
DayClose(8)+DayClose(7)+DayClose(6)+DayClose(5)+DayClose(4)+DayClose(3)+
DayClose(2)+DayClose(1))/20;
Plot1(MM+MM*Percent/100*일정배수,"상단2",White,def,5);
plot2(MM-MM*Percent/100*일정배수,"하단2",White,def,5);
plot3(mm,"중심이평",Yellow,def,5);
plot4(MM+MM*Percent/100,"상단1",Gray,def,5);
plot5(MM-MM*Percent/100,"하단1",Gray,def,5);
2. 주봉
input : Percent(10),일정배수(1.5);
var : mm(0),cnt(0);
Array : WeekC[50](0);
if Bdate != Bdate[1] and DayOfWeek(Bdate) <= DayOfWeek(Bdate[1]) Then
{
For cnt = 49 DownTo 1
{
WeekC[cnt] = WeekC[cnt-1];
}
}
WeekC[0] = C;
if weekc[20] > 0 Then
{
MM=(WeekC[20]+WeekC[19]+WeekC[18]+WeekC[17]+WeekC[16]+WeekC[15]+
WeekC[14]+WeekC[13]+WeekC[12]+WeekC[11]+WeekC[10]+WeekC[9]+
WeekC[8]+WeekC[7]+WeekC[6]+WeekC[5]+WeekC[4]+WeekC[3]+
WeekC[2]+WeekC[1])/20;
Plot1(MM+MM*Percent/100*일정배수,"상단2",White,def,5);
plot2(MM-MM*Percent/100*일정배수,"하단2",White,def,5);
plot3(mm,"중심이평",Yellow,def,5);
plot4(MM+MM*Percent/100,"상단1",Gray,def,5);
plot5(MM-MM*Percent/100,"하단1",Gray,def,5);
}
즐거운 하루되세요
> 알로우kim 님이 쓴 글입니다.
> 제목 : 엔벨로프 상하단 일목균형표
> 수식1 제목 상단2
M=(nPreDayClose(20)+nPreDayClose(19)+nPreDayClose(18)+nPreDayClose(17)+nPreDayClose(16)+nPreDayClose(15)+
nPreDayClose(14)+nPreDayClose(13)+nPreDayClose(12)+nPreDayClose(11)+nPreDayClose(10)+nPreDayClose(9)+
nPreDayClose(8)+nPreDayClose(7)+nPreDayClose(6)+nPreDayClose(5)+nPreDayClose(4)+nPreDayClose(3)+
nPreDayClose(2)+nPreDayClose(1))/20;
M+M*Percent/100*일정배수
수식2 제목 하단2
M=(nPreDayClose(20)+nPreDayClose(19)+nPreDayClose(18)+nPreDayClose(17)+nPreDayClose(16)+nPreDayClose(15)+
nPreDayClose(14)+nPreDayClose(13)+nPreDayClose(12)+nPreDayClose(11)+nPreDayClose(10)+nPreDayClose(9)+
nPreDayClose(8)+nPreDayClose(7)+nPreDayClose(6)+nPreDayClose(5)+nPreDayClose(4)+nPreDayClose(3)+
nPreDayClose(2)+nPreDayClose(1))/20;
M-M*Percent/100*일정배수
수식3 제목 중심이평
M=(nPreDayClose(20)+nPreDayClose(19)+nPreDayClose(18)+nPreDayClose(17)+nPreDayClose(16)+nPreDayClose(15)+
nPreDayClose(14)+nPreDayClose(13)+nPreDayClose(12)+nPreDayClose(11)+nPreDayClose(10)+nPreDayClose(9)+
nPreDayClose(8)+nPreDayClose(7)+nPreDayClose(6)+nPreDayClose(5)+nPreDayClose(4)+nPreDayClose(3)+
nPreDayClose(2)+nPreDayClose(1))/20;
M
수식4 제목 상단1
M=(nPreDayClose(20)+nPreDayClose(19)+nPreDayClose(18)+nPreDayClose(17)+nPreDayClose(16)+nPreDayClose(15)+
nPreDayClose(14)+nPreDayClose(13)+nPreDayClose(12)+nPreDayClose(11)+nPreDayClose(10)+nPreDayClose(9)+
nPreDayClose(8)+nPreDayClose(7)+nPreDayClose(6)+nPreDayClose(5)+nPreDayClose(4)+nPreDayClose(3)+
nPreDayClose(2)+nPreDayClose(1))/20;
M+M*Percent/100
수식5 제목 하단1
M=(nPreDayClose(20)+nPreDayClose(19)+nPreDayClose(18)+nPreDayClose(17)+nPreDayClose(16)+nPreDayClose(15)+
nPreDayClose(14)+nPreDayClose(13)+nPreDayClose(12)+nPreDayClose(11)+nPreDayClose(10)+nPreDayClose(9)+
nPreDayClose(8)+nPreDayClose(7)+nPreDayClose(6)+nPreDayClose(5)+nPreDayClose(4)+nPreDayClose(3)+
nPreDayClose(2)+nPreDayClose(1))/20;
M-M*Percent/100
지표조건
Percent 10
일정배수 1.5
라인설정
상단2 흰색 5pt
하단2 흰색 5pt
중심이평 노랑색 4pt
상단1 그레이 3pt
하단1 그레이 3pt
스케일은 가격
1일봉과 2주봉조건으로 지표조건 조정 가능하도록
부탁드려요^^