커뮤니티
수식 문의 드립니다.
2015-04-29 13:57:14
152
글번호 85540
매수 :60봉 이내 전저점 대비 5 Point (0.01 x 5) 상승시 매수
60봉 이내 전 매도점 대비 5 point (0.01 x 5) 상승시 매수
60봉 이내 전고점 대비 5 Point (0.01 x 5) 상승시 매수
매도: 60봉 이내 전고점 대비 5 Point (0.01 x 5) 하락시 매수청산
60봉 이내 매수점 대비 5 point (0.01 x 5) 하락시 매수청산
답변 1
예스스탁 예스스탁 답변
2015-04-29 15:15:34
안녕하세요
예스스탁입니다.
if MarketPosition <= 0 and H < Lowest(L,60)+PriceScale*5 Then
buy("b1",AtStop,Lowest(L,60)+PriceScale*5);
if MarketPosition == 0 and BarsSinceExit(1) < 60 Then
buy("b2",AtStop,ExitPrice(1)+PriceScale*5);
if MarketPosition <= 0 and H < highest(H,60)+PriceScale*5 Then
buy("b3",AtStop,highest(H,60)+PriceScale*5);
if MarketPosition == 1 Then{
if L >= highest(H,60)-PriceScale*5 Then
exitlong("bx1",AtStop,highest(H,60)-PriceScale*5);
if BarsSinceEntry < 60 Then
ExitLong("bx2",AtStop,EntryPrice-PriceScale*5);
}
즐거운 하루되세요
> 기관장 님이 쓴 글입니다.
> 제목 : 수식 문의 드립니다.
> 매수 :60봉 이내 전저점 대비 5 Point (0.01 x 5) 상승시 매수
60봉 이내 전 매도점 대비 5 point (0.01 x 5) 상승시 매수
60봉 이내 전고점 대비 5 Point (0.01 x 5) 상승시 매수
매도: 60봉 이내 전고점 대비 5 Point (0.01 x 5) 하락시 매수청산
60봉 이내 매수점 대비 5 point (0.01 x 5) 하락시 매수청산