커뮤니티
문의드립니다.
2017-02-23 10:31:25
130
글번호 107162
안녕하세요?
아래 지표식을 일봉과 동일하게 분봉지표식으로 변경부탁드립니다.
var : LoL(0),newh(0),box1(false),ii(0),top(0),UND(0);
LoL=Lowest(L,5);
if h > highest(h,5)[1] Then{
newh = h;
ii = 0;
}
ii = ii+1;
box1 = highest(h,3) < highest(h,4);
if ii == 4 and box1 == true Then
top = newh;
if ii == 4 and box1 == true Then
UND = LoL;
plot1(top);
plot2(UND);
답변 1
예스스탁 예스스탁 답변
2017-02-23 14:35:26
안녕하세요
예스스탁입니다.
var : LoL(0),newh(0),box1(false),ii(0),top(0),UND(0);
var : HH(0),H3(0),H4(0),cnt(0),newd(0);
LoL = daylow;
HH = dayhigh(1);
H3 = dayhigh;
H4 = DayHigh;
for cnt = 0 to 4{
if daylow(cnt) < lol Then
lol = daylow(cnt);
if cnt >= 1 and dayhigh(cnt) > HH Then
HH = dayhigh(cnt);
if cnt < 3 and dayhigh(cnt) > H3 Then
H3 = dayhigh(cnt);
if cnt < 4 and dayhigh(cnt) > H4 Then
H4 = dayhigh(cnt);
}
if DayHigh > HH Then{
newh = dayhigh;
newd = sdate;
ii = 0;
}
if sdate > newd and sdate != sdate[1] Then
ii = ii+1;
box1 = H3 < H4;
if ii == 4 and box1 == true Then
top = newh;
if ii == 4 and box1 == true Then
UND = LoL;
plot1(top);
plot2(UND);
즐거운 하루되세요
> 만들레영토 님이 쓴 글입니다.
> 제목 : 문의드립니다.
> 안녕하세요?
아래 지표식을 일봉과 동일하게 분봉지표식으로 변경부탁드립니다.
var : LoL(0),newh(0),box1(false),ii(0),top(0),UND(0);
LoL=Lowest(L,5);
if h > highest(h,5)[1] Then{
newh = h;
ii = 0;
}
ii = ii+1;
box1 = highest(h,3) < highest(h,4);
if ii == 4 and box1 == true Then
top = newh;
if ii == 4 and box1 == true Then
UND = LoL;
plot1(top);
plot2(UND);
다음글
이전글