커뮤니티

수식부탁드립니다.

프로필 이미지
신나는파파
2016-01-11 12:11:02
132
글번호 94275
답변완료
a형 당일고점대비 -30틱 : 1차매수 당일고점대비 -60틱 : 2차매수 당일고점대비 -90틱 : 3차매수 당일고점대비 -120틱 : 4차매수 당일고점대비 -150틱 : 손절(일괄손절) 익절 : 매수진입된후(1차,2차,3차,4차)---> 당일고점돌파10틱(일괄청산) **고점갱신된후(청산되면) 고점에서 떨어지면 위 수식대로 다시 매수시작... b형 당일저점대비 +30틱 : 1차매도 당일저점대비 +60틱 : 2차매도 당일저점대비 +90틱 : 3차매도 당일저점대비 +120틱 : 4차매도 당일저점대비 +150틱 : 손절(일괄손절) 익절 : 매도진입된후(1차,2차,3차,4차)---> 당일저점돌파10틱(일괄청산) **저점갱신된후(청산되면) 저점에서 올라가면 위 수식대로 다시 매도시작...
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2016-01-11 17:18:16

안녕하세요 예스스탁입니다. 적용하실때 시스템 트레이딩 설정창의 피라미딩 탭에서 피라미딩을 다른진입신호만 허용으로 설정하고 적용하시면 됩니다. 1. if MarketPosition == 0 and L > dayhigh-PriceScale*30 and stime < 150000 Then buy("b1",atlimit,dayhigh-PriceScale*30); if MarketPosition == 1 and stime < 150000 Then{ ExitLong("BL",AtStop,dayhigh-PriceScale*150); ExitLong("BP",atlimit,dayhigh[BarsSinceEntry]+PriceScale*10); if MaxEntries == 1 and L > dayhigh-PriceScale*60 Then buy("b2",atlimit,dayhigh-PriceScale*60); if MaxEntries == 2 and L > dayhigh-PriceScale*90 Then buy("b3",atlimit,dayhigh-PriceScale*90); if MaxEntries == 3 and L > dayhigh-PriceScale*120 Then buy("b4",atlimit,dayhigh-PriceScale*120); } 2 if MarketPosition == 0 and H < DayLow+PriceScale*30 and stime < 150000 Then Sell("s1",atlimit,DayLow+PriceScale*30); if MarketPosition == 1 and stime < 150000 Then{ ExitShort("SL",AtStop,dayLow+PriceScale*150); ExitShort("SP",atlimit,DayLow[BarsSinceEntry]-PriceScale*10); if MaxEntries == 1 and H < DayLow+PriceScale*60 Then Sell("s2",atlimit,DayLow+PriceScale*60); if MaxEntries == 2 and H < DayLow+PriceScale*90 Then Sell("s3",atlimit,DayLow+PriceScale*90); if MaxEntries == 3 and H < DayLow+PriceScale*120 Then Sell("s4",atlimit,DayLow+PriceScale*120); } 즐거운 하루되세요 > 신나는파파 님이 쓴 글입니다. > 제목 : 수식부탁드립니다. > a형 당일고점대비 -30틱 : 1차매수 당일고점대비 -60틱 : 2차매수 당일고점대비 -90틱 : 3차매수 당일고점대비 -120틱 : 4차매수 당일고점대비 -150틱 : 손절(일괄손절) 익절 : 매수진입된후(1차,2차,3차,4차)---> 당일고점돌파10틱(일괄청산) **고점갱신된후(청산되면) 고점에서 떨어지면 위 수식대로 다시 매수시작... b형 당일저점대비 +30틱 : 1차매도 당일저점대비 +60틱 : 2차매도 당일저점대비 +90틱 : 3차매도 당일저점대비 +120틱 : 4차매도 당일저점대비 +150틱 : 손절(일괄손절) 익절 : 매도진입된후(1차,2차,3차,4차)---> 당일저점돌파10틱(일괄청산) **저점갱신된후(청산되면) 저점에서 올라가면 위 수식대로 다시 매도시작...