커뮤니티
수정해주세요----------------
2012-02-20 20:40:36
417
글번호 47990
if time-stime[봉수] <시간 and stime >= 92000 and dayPL > -(PriceScale*당일손절) then{
if (MarketPosition == 0 or highest(H,BarsSinceEntry) >= EntryPrice+PriceScale*25)
and C > C[3] and tema82[0] < tema82[1] +0.08 then{
if stok <= 85 Then
sell();
if stok > 85 Then
ExitLong();
}
if (MarketPosition == 0 or Lowest(L,BarsSinceEntry) <= EntryPrice-PriceScale*25)
and C < C[3] and tema82[0] > tema82[1] -0.14 then{
if stok >= 20 Then
buy();
if stok < 20 Then
ExitShort();
SetStopLoss(PriceScale*13,PointStop);
}
}
1)과열권에서 신규매도신호 나온경우-바로 매도진입 하지말고 기다리다 과열권 을
아래로 돌파할때 매도
2)과열권에서 청산후매도(리버스) 신호 나온경우 청산만하고 기다리다 과열권 을
아래로 돌파할때 매도
1)침체권에서 신규매수신호 나온경우-바로 매수진입 하지말고 기다리다 침체권 을
위로 돌파할때 매수
2)침체권에서 청산후매수(리버스) 신호 나온경우 청산만하고 기다리다 침체권 을
위로 돌파할때 매수
3)과열권안 에서는 매수신호없고 침체권안 에서는 매도신호 없게 해주세요
첨부보세요---수고하세요
- 1. 과열침체.xls (0.03 MB)
답변 1
예스스탁 예스스탁 답변
2012-02-21 11:22:37
안녕하세요
예스스탁입니다.
if crossup(Stok,85) Then
Condition1 = false;
if CrossDown(Stok,20) Then
Condition1 = false;
if time-stime[봉수] <시간 and stime >= 92000 and dayPL > -(PriceScale*당일손절) then{
if (MarketPosition == 0 or highest(H,BarsSinceEntry) >= EntryPrice+PriceScale*25) and
C > C[3] and tema82[0] < tema82[1] +0.08 then{
if stok <= 85 Then
sell();
if stok > 85 Then{
ExitLong();
Condition1 = true;
}
}
if CrossDown(Stok,85) and Condition1 == true Then
sell();
if (MarketPosition == 0 or Lowest(L,BarsSinceEntry) <= EntryPrice-PriceScale*25) and
C < C[3] and tema82[0] > tema82[1] -0.14 then{
if stok >= 20 Then
buy();
if stok < 20 Then{
ExitShort();
Condition2 = true;
}
if Crossup(Stok,20) and Condition2 == true Then
buy();
}
if MarketPosition == -1 and MarketPosition[1] != -1 Then
Condition1 = false;
if MarketPosition == -1 and MarketPosition[1] != 1 Then
Condition2 = false;
즐거운 하루되세요
> leekss1 님이 쓴 글입니다.
> 제목 : 수정해주세요----------------
> if time-stime[봉수] <시간 and stime >= 92000 and dayPL > -(PriceScale*당일손절) then{
if (MarketPosition == 0 or highest(H,BarsSinceEntry) >= EntryPrice+PriceScale*25)
and C > C[3] and tema82[0] < tema82[1] +0.08 then{
if stok <= 85 Then
sell();
if stok > 85 Then
ExitLong();
}
if (MarketPosition == 0 or Lowest(L,BarsSinceEntry) <= EntryPrice-PriceScale*25)
and C < C[3] and tema82[0] > tema82[1] -0.14 then{
if stok >= 20 Then
buy();
if stok < 20 Then
ExitShort();
SetStopLoss(PriceScale*13,PointStop);
}
}
1)과열권에서 신규매도신호 나온경우-바로 매도진입 하지말고 기다리다 과열권 을
아래로 돌파할때 매도
2)과열권에서 청산후매도(리버스) 신호 나온경우 청산만하고 기다리다 과열권 을
아래로 돌파할때 매도
1)침체권에서 신규매수신호 나온경우-바로 매수진입 하지말고 기다리다 침체권 을
위로 돌파할때 매수
2)침체권에서 청산후매수(리버스) 신호 나온경우 청산만하고 기다리다 침체권 을
위로 돌파할때 매수
3)과열권안 에서는 매수신호없고 침체권안 에서는 매도신호 없게 해주세요
첨부보세요---수고하세요
이전글