커뮤니티
간단한거 하나부탁드립니다...
2012-04-30 13:31:28
462
글번호 50649
시가가 전일종가보다 높게 시작하고
전일종가에서 1차매수...
전일종가-5프로에서 2차매수..
1차매수후 5프로에서 1차수익실현(50프로) 7프로에서2차수익실현(25프로) 10프로에서전량수익실현
1차매수후 5프로이상상승하면 2차매수금지
2차매수후 평단가에서 절반매도 5프로에서보유수량에 절반 7프로에서 전량수익실현
2차매수후 평단가대비-7프로에서 손절
부탁드립니다
답변 1
예스스탁 예스스탁 답변
2012-04-30 14:48:02
안녕하세요
예스스탁입니다.
1분봉차트에 적용하시면 됩니다.
피라미딩은 다른진입신호만 허용을 설정하시고
적용하시기 바랍니다.
if MarketPosition == 0 and NextBarOpen > C and stime == 151500 Then#현물 150000
buy("b",atlimit,c);
if MarketPosition == 0 and dayopen > DayClose(1) and L > DayClose(1)*0.95 and stime < 150000 Then#현물이면 150000
buy("bb",Atlimit,DayClose(1));
if MarketPosition == 1 and stime < 150000 and MaxEntries == 1 Then{
if highest(H,BarsSinceEntry) < EntryPrice*1.05 and L > DayClose(1)*0.95 Then
buy("add1",atlimit,DayClose(1)*0.95);
}
if MarketPosition == 1 and MaxEntries == 1 Then{
if CurrentContracts == MaxContracts Then
exitlong("bx1_1",Atlimit,EntryPrice*1.05,"",round(int(MaxContracts*0.5),0),1);
if CurrentContracts < MaxContracts Then{
exitlong("bx1_2",Atlimit,EntryPrice*1.07,"",round(int(MaxContracts*0.25),0),1);
exitlong("bx1_3",Atlimit,EntryPrice*1.10);
}
}
if MarketPosition == 1 and MaxEntries == 2 Then{
ExitLong("loss",AtStop,EntryPrice*0.93);
if CurrentContracts == MaxContracts Then
exitlong("bx2_1",Atlimit,avgEntryPrice,"",round(int(CurrentContracts*0.5),0),1);
if CurrentContracts < MaxContracts Then{
if highest(H,BarsSinceEntry) < AvgEntryPrice*1.05 Then{
exitlong("bx2_2",Atlimit,EntryPrice*1.05,"",round(int(MaxContracts*0.5),0),1);
}
if highest(L,BarsSinceEntry) < AvgEntryPrice*1.07 Then
exitlong("bx2_3",Atlimit,EntryPrice*1.05);
}
}
즐거운 하루되세요
> 상위1프로되기 님이 쓴 글입니다.
> 제목 : 간단한거 하나부탁드립니다...
> 시가가 전일종가보다 높게 시작하고
전일종가에서 1차매수...
전일종가-5프로에서 2차매수..
1차매수후 5프로에서 1차수익실현(50프로) 7프로에서2차수익실현(25프로) 10프로에서전량수익실현
1차매수후 5프로이상상승하면 2차매수금지
2차매수후 평단가에서 절반매도 5프로에서보유수량에 절반 7프로에서 전량수익실현
2차매수후 평단가대비-7프로에서 손절
부탁드립니다
다음글