커뮤니티
2178번 아직도 답변이 없네요.다시 부탁드립니다.
2004-07-22 20:11:25
1365
글번호 4607
문의드린지 너무 오래되어 답답해서 다시 한번 올립니다.
수고스럽지만 다시 한번 부탁드립니다.
답변 1
예스스탁 예스스탁 답변
2004-07-23 14:16:24
안녕하세요
예스스탁입니다.
답변이 늦어져 죄송합니다.
###매수: 5,20,60이평선이 정배열시 5이평선을 상향돌파하는 양봉발생시 매수.
if ma(c,5) > ma(c,20) and ma(c,20) > ma(c,60) and crossup(c,ma(c,5)) and c > o then
buy();
###매수: 봉의시가보다 종가가0.35%이상 상승한 양봉발생후 다음봉이 양봉의 중간선을
###하향돌파하지 않는 음봉발생시 매수, 적삼병발생후 7개봉내에 적삼병의 첫번째봉의 종가를 하향돌파하지 않으면 매수.
if C[1] > O[1]*1.0035 and (C[1] + O[1])/2 < C and C < O then
buy();
if accumN(C > O, 3) == 3 then{
var1 = c[2];
var2 = index;
}
if index == var2+7 and accumn(iff(crossdown(c, var1),1,0),7) < 1 then
buy();
###매수:MACD osc 양전환후 5이평선이나 20이평선 상향돌파하거나 양전환후 양봉발생한 후에 다음봉이 전봉의
###중간선을 하향돌파하지 않으면 매수.
var : macdosc(0);
macdosc = ema(MACD(12, 26),12);
if crossup(macdosc , 0) then
var3 = index;
if index > var3 and crossup(c,ma(c,5)) or crossup(c,ma(c,20)) or (c[1] > o[2] and c >( c[1]+O[1])/2) then
buy();
###매수: 최근6개봉에 볼린져밴드 하단선을 돌파한 봉이 있는데 양봉으로 볼린져밴드 중간선을 상향돌파하면 매수.
if accumn(iff(crossup(c, BollBandDown(20,2)),1,0), 6) > 1then
var4 = index;
if index > var4 and C > O and crossup(c,ma(C,20)) then
buy();
###매수:최근 5개봉이내에 5이평선이나 20이평선에 닿고나서 상향돌파하는 양봉출현시 매수.
if C > O and accumN(iff(Crossup(c,ma(c,5)),1,0), 5) >=1
or C > O and accumN(iff(Crossup(c,ma(c,20)),1,0), 5) >=1 then
buy();
[매수식]
var : macdosc(0),exitLV(0), exitLidx(0);
macdosc = ema(MACD(12, 26),12);
if accumN(C > O, 3) == 3 then{
var1 = c[2];
var2 = index;
}
if crossup(macdosc , 0) then
var3 = index;
if accumn(iff(crossup(c, BollBandDown(20,2)),1,0), 6) > 1then
var4 = index;
if (ma(c,5) > ma(c,20) and ma(c,20) > ma(c,60) and crossup(c,ma(c,5)) and c > o)
or (C[1] > O[1]*1.0035 and (C[1] + O[1])/2 < C and C < O)
or (index == var2+7 and accumn(iff(crossdown(c, var1),1,0),7) < 1)
or (index > var3 and crossup(c,ma(c,5)) or crossup(c,ma(c,20)))
or (c[1] > c[2] and c >( c[1]+O[1])/2)
or (index > var4 and C > O and crossup(c,ma(C,20)))
or (C > O and accumN(iff(Crossup(c,ma(c,5)),1,0), 5) >=1)
or (C > O and accumN(iff(Crossup(c,ma(c,20)),1,0), 5) >=1) then
buy();
=========================================================================================================
###매수청산:고점대비 종가가 0.4%이상 하락한 음봉이 발생한 후 2개봉내에 그 음봉의 중간선을 상향돌파하지 못하면 매수청산.
if c < o and c > swinghigh(1,H,3,3,30)*0.996 then{
exitLV = c;
exitLidx = index;
}
if index == exitLidx +2 and accumn(iff(c > exitLV,1,0),2) < 1 then
Exitlong();
###매수청산:종가가 최근 3개봉의 최저가를 하향돌파하는 음봉출현시 매수청산.
if C < O and Crossdown(C, lowest(L,3)) then
ExitLong();
###매수청산: 최근 6개봉중 볼린져밴드 상단선 돌파한 것이 있고 음봉발생하면 매수청산
if accumn(iff(crossup(c ,BollBandUp(20,2)),1,0),6) >=1 and C < O then
Exitlong();
###매수청산: 5,20,60이평선이 역배열시에는 볼린져밴드 중간선에 닿는 음봉발생시 매수청산.
if ma(c,5) < ma(c,20) and ma(c,20) < ma(c,60) and C < O and crossdown(c, ma(c,20))then
exitlong();
[매수청산식]
var : exitLV(0), exitLidx(0);
if c < o and c > swinghigh(1,H,3,3,30)*0.996 then{
exitLV = c;
exitLidx = index;
}
if (index == var1 +2 and accumn(iff(c > var1,1,0),2) < 1)
or (C < O and Crossdown(C, lowest(L,3)))
or (accumn(iff(crossup(c ,BollBandUp(20,2)),1,0),6) >=1 and C < O)
or (ma(c,5) < ma(c,20) and ma(c,20) < ma(c,60) and C < O)
and crossdown(c, ma(c,20)) then
Exitlong();
==============================================================================================================
###매도: 5,20,60이평선이 역배열시 5이평선을 하향돌파하는 음봉발생시 매도.
if ma(c,5) < ma(c,20) and ma(c,20) < ma(c,60) and crossdown(c,ma(c,5)) and c < o then
sell();
###매도:봉의시가보다 종가가 0.35%이상 하락한 음봉발생후 다음봉이 음봉의 중간선을 상향돌파하지 않는 양봉발생시 매도,
###흑삼병발생후 7개봉내에 흑삼병의 첫번째봉의 종가를 상향돌파하지 않으면 매도.
if C[1] < O[1]*0.9965 and (C[1] + O[1])/2 > C and C > O then
sell();
if accumN(C < O, 3) == 3 then{
var1 = c[2];
var2 = index;
}
if index == var2+7 and accumn(iff(crossup(c, var1),1,0),7) < 1 then
sell();
###매도: MACD osc 음전환후 5이평선이나 20이평선 하향돌파하거나 음전환후 음봉발생한 후에
###다음봉이 전봉의 중간선을 상향돌파하지 않으면 매도.
var : macdosc(0);
macdosc = ema(MACD(12, 26),12);
if crossdown(macdosc , 0) then
var3 = index;
if index > var3 and (crossdown(c,ma(c,5)) or crossdown(c,ma(c,20))) or (c[1] < o[2] and c >( c[1]+O[1])/2) then
sell();
###매도: 최근6개봉에 볼린져밴드 상단선을 돌파한 봉이 있는데 음봉으로 볼린져밴드 중간선을 하향돌파하면 매도.
if accumn(iff(crossup(c, BollBanddown(20,2)),1,0), 6) > 1then
var4 = index;
if index > var4 and C > O and crossdown(c,ma(C,20)) then
sell();
###매도:최근 5개봉이내에 5이평선이나 20이평선에 닿고나서 하향돌파하는 음봉출현시 매도.
if C < O and (accumN(iff(Crossdown(c,ma(c,5)),1,0), 5) >=1
or accumN(iff(Crossdown(c,ma(c,20)),1,0), 5) >=1) then
sell();
[매도식]
if accumN(C < O, 3) == 3 then{
var5 = c[2];
var6 = index;
}
if crossdown(macdosc , 0) then
var7 = index;
if accumn(iff(crossup(c, BollBanddown(20,2)),1,0), 6) > 1then
var8 = index;
if (ma(c,5) < ma(c,20) and ma(c,20) < ma(c,60) and crossdown(c,ma(c,5)) and c < o)
or (C[1] < O[1]*0.9965 and (C[1] + O[1])/2 > C and C > O)
or (index == var6+7 and accumn(iff(crossup(c, var5),1,0),7) < 1)
or (index > var7 and (crossdown(c,ma(c,5)) or crossdown(c,ma(c,20))) or (c[1] < o[2] and c >( c[1]+O[1])/2))
or (index > var8 and C > O and crossdown(c,ma(C,20)))
or (C > O and (accumN(iff(Crossdown(c,ma(c,5)),1,0), 5) >=1
or accumN(iff(Crossdown(c,ma(c,20)),1,0), 5) >=1)) then
sell();
====================================================================================================================
###매도청산:저점대비 종가가 0.4%이상 상승한 양봉이 발생한 후 2개봉내에 그 양봉의 중간선을 하향돌파하지 못하면 매도청산.
if c < o and c > swinglow(1,L,3,3,30)*1.004 then{
exitSV = c;
exitSidx = index;
}
if index == exitLidx +2 and accumn(iff(c > exitLV,1,0),2) < 1 then
Exitshort();
###매도청산:종가가 최근 3개봉의 최고가를 상향돌파하는 양봉출현시 매도청산.
if C > O and Crossdown(C, highest(L,3)) then
Exitshort();
###매도청산:최근 6개봉중 볼린져밴드 하단선 돌파한 것이 있고 양봉발생하면 매도청산.
if accumn(iff(crossdown(c ,BollBanddown(20,2)),1,0),6) >=1 and C > O then
Exitlong();
###매도청산: 5,20,60이평선이 정배열시에는 볼린져밴드 중간선에 닿는 양봉발생시 매도청산.
if ma(c,5) > ma(c,20) and ma(c,20) > ma(c,60) and C > O and crossdown(c, ma(c,20))then
exitlong();
[매도청산식]
if c < o and c > swinglow(1,L,3,3,30)*1.004 then{
exitSV = c;
exitSidx = index;
}
if (index == exitSidx +2 and accumn(iff(c > exitSV,1,0),2) < 1)
or (C > O and Crossdown(C, highest(L,3)))
or (accumn(iff(crossdown(c ,BollBanddown(20,2)),1,0),6) >=1 and C > O)
or (ma(c,5) > ma(c,20) and ma(c,20) > ma(c,60) and C > O and crossdown(c, ma(c,20))) then
exitlong();
###################
###매수식
var : macdosc(0),exitLV(0), exitLidx(0),exitSV(0),exitSidx(0);
macdosc = ema(MACD(12, 26),12);
if accumN(C > O, 3) == 3 then{
var1 = c[2];
var2 = index;
}
if crossup(macdosc , 0) then
var3 = index;
if accumn(iff(crossup(c, BollBandDown(20,2)),1,0), 6) > 1then
var4 = index;
if (ma(c,5) > ma(c,20) and ma(c,20) > ma(c,60) and crossup(c,ma(c,5)) and c > o)
or (C[1] > O[1]*1.0035 and (C[1] + O[1])/2 < C and C < O)
or (index == var2+7 and accumn(iff(crossdown(c, var1),1,0),7) < 1)
or (index > var3 and crossup(c,ma(c,5)) or crossup(c,ma(c,20)))
or (c[1] > c[2] and c >( c[1]+O[1])/2)
or (index > var4 and C > O and crossup(c,ma(C,20)))
or (C > O and accumN(iff(Crossup(c,ma(c,5)),1,0), 5) >=1)
or (C > O and accumN(iff(Crossup(c,ma(c,20)),1,0), 5) >=1) then{
buy();
var9 = c;
}
###매수청산
if c < o and c > swinghigh(1,H,3,3,30)*0.996 then{
exitLV = c;
exitLidx = index;
}
if (index == var1 +2 and accumn(iff(c > var1,1,0),2) < 1)
or (C < O and Crossdown(C, lowest(L,3)))
or (accumn(iff(crossup(c ,BollBandUp(20,2)),1,0),6) >=1 and C < O)
or (ma(c,5) < ma(c,20) and ma(c,20) < ma(c,60) and C < O) and crossdown(c, ma(c,20))
or c <=(var9-(var9*0.0045)) then
Exitlong();
###매도
if accumN(C > O, 3) == 3 then{
var5 = c[2];
var6 = index;
}
if crossdown(macdosc , 0) then
var7 = index;
if accumn(iff(crossup(c, BollBanddown(20,2)),1,0), 6) > 1then
var8 = index;
if (ma(c,5) < ma(c,20) and ma(c,20) < ma(c,60) and crossdown(c,ma(c,5)) and c < o)
or (C[1] < O[1]*0.9965 and (C[1] + O[1])/2 > C and C > O)
or (index == var6+7 and accumn(iff(crossup(c, var5),1,0),7) < 1)
or (index > var7 and (crossdown(c,ma(c,5)) or crossdown(c,ma(c,20))) or (c[1] < o[2] and c >( c[1]+O[1])/2))
or (index > var8 and C > O and crossdown(c,ma(C,20)))
or (C > O and (accumN(iff(Crossdown(c,ma(c,5)),1,0), 5) >=1
or accumN(iff(Crossdown(c,ma(c,20)),1,0), 5) >=1)) then
sell();
###매도청산
if c < o and c > swinglow(1,L,3,3,30)*1.004 then{
exitSV = c;
exitSidx = index;
}
if (index == exitSidx +2 and accumn(iff(c > exitSV,1,0),2) < 1)
or (C > O and Crossdown(C, highest(L,3)))
or (accumn(iff(crossdown(c ,BollBanddown(20,2)),1,0),6) >=1 and C > O)
or (ma(c,5) > ma(c,20) and ma(c,20) > ma(c,60) and C > O and crossdown(c, ma(c,20)))
or c >=(var9+(var9*0.0045))then
exitlong();
감사합니다.
> 정곡선생 님이 쓴 글입니다.
> 제목 : 2178번 아직도 답변이 없네요.다시 부탁드립니다.
> 문의드린지 너무 오래되어 답답해서 다시 한번 올립니다.
수고스럽지만 다시 한번 부탁드립니다.
다음글