커뮤니티

오일수식부탁드립니다.

프로필 이미지
신나는파파
2015-02-01 17:49:06
139
글번호 82836
답변완료
#### 1번째수식 당일시가의 +10가격에 ------> 1매도진입(익절:당일시가가격의 -30가격, 손절:당일시가의+40가격) 당일시가의 +20가격에 ------> 1매도진입(익절:당일시가가격의 -30가격, 손절:당일시가의+40가격) 당일시가의 +30가격에 ------> 1매도진입(익절:당일시가가격의 -30가격, 손절:당일시가의+40가격) 혹시 미청산 된것있으면 종가청산(새벽5시); 하루 1번씩만 진입...청산.. #### 2번째수식 당일시가의 -10가격에 ------> 1매수진입(익절:당일시가가격의 +30가격, 손절:당일시가의-40가격) 당일시가의 -20가격에 ------> 1매수진입(익절:당일시가가격의 +30가격, 손절:당일시가의-40가격) 당일시가의 -30가격에 ------> 1매수진입(익절:당일시가가격의 +30가격, 손절:당일시가의-40가격) 혹시 미청산 된것있으면 종가청산(새벽5시); 하루 1번씩만 진입...청산..
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2015-02-02 15:02:14

안녕하세요 예스스탁입니다. 시스템 적용시 피라미딩을 다른진입신호만 허용으로 설정 후 적용하시기 바랍니다. 크루드오일에서 +10,+20등은 가격이 맞지 않아 10틱, 20틱으로 지정했습니다. 1. var : Entry(false); var : Scond1(false),Scond2(false),Scond3(false); if Bdate != Bdate[1] Then{ Entry = true; Scond1 = false; Scond2 = false; Scond3 = false; } if BarsSinceExit(1) == 1 Then entry = false; if MarketPosition == -1 and LatestEntryName(0) == "s1" Then Scond1 = true; if MarketPosition == -1 and LatestEntryName(0) == "s2" Then Scond2 = true; if MarketPosition == -1 and LatestEntryName(0) == "s3" Then Scond3 = true; if MarketPosition >= 0 and entry == true Then { if Scond1 == false and dayhigh < dayopen+10*PriceScale Then sell("s1",Atlimit,dayopen+10*PriceScale); if Scond2 == false and dayhigh < dayopen+20*PriceScale Then sell("s2",Atlimit,dayopen+20*PriceScale); if Scond3 == false and dayhigh < dayopen+30*PriceScale Then sell("s3",Atlimit,dayopen+30*PriceScale); } if MarketPosition == -1 Then{ ExitLong("bl",AtStop,dayopen+40*PriceScale); ExitLong("bp",AtStop,dayopen-30*PriceScale); } if stime == 050000 or (stime> 050000 and stime[1] < 050000) Then{ Entry = false; ExitShort(); } 2. var : Entry(false); var : Bcond1(false),Bcond2(false),Bcond3(false); if Bdate != Bdate[1] Then{ Entry = true; Bcond1 = false; Bcond2 = false; Bcond3 = false; } if BarsSinceExit(1) == 1 Then entry = false; if MarketPosition == 1 and LatestEntryName(0) == "b1" Then Bcond1 = true; if MarketPosition == 1 and LatestEntryName(0) == "b2" Then Bcond2 = true; if MarketPosition == 1 and LatestEntryName(0) == "b3" Then Bcond3 = true; if MarketPosition >= 0 and entry == true Then { if Bcond1 == false and daylow > dayopen-10*PriceScale Then buy("b1",Atlimit,dayopen-10*PriceScale); if Bcond2 == false and daylow > dayopen-20*PriceScale Then buy("b2",Atlimit,dayopen-20*PriceScale); if Bcond3 == false and daylow > dayopen-30*PriceScale Then buy("b3",Atlimit,dayopen-30*PriceScale); } if MarketPosition == 1 Then{ ExitLong("bl",AtStop,dayopen-40*PriceScale); ExitLong("bp",AtStop,dayopen+30*PriceScale); } if stime == 050000 or (stime> 050000 and stime[1] < 050000) Then{ Entry = false; ExitLong("bx"); } 즐거운 하루되세요 > 신나는파파 님이 쓴 글입니다. > 제목 : 오일수식부탁드립니다. > #### 1번째수식 당일시가의 +10가격에 ------> 1매도진입(익절:당일시가가격의 -30가격, 손절:당일시가의+40가격) 당일시가의 +20가격에 ------> 1매도진입(익절:당일시가가격의 -30가격, 손절:당일시가의+40가격) 당일시가의 +30가격에 ------> 1매도진입(익절:당일시가가격의 -30가격, 손절:당일시가의+40가격) 혹시 미청산 된것있으면 종가청산(새벽5시); 하루 1번씩만 진입...청산.. #### 2번째수식 당일시가의 -10가격에 ------> 1매수진입(익절:당일시가가격의 +30가격, 손절:당일시가의-40가격) 당일시가의 -20가격에 ------> 1매수진입(익절:당일시가가격의 +30가격, 손절:당일시가의-40가격) 당일시가의 -30가격에 ------> 1매수진입(익절:당일시가가격의 +30가격, 손절:당일시가의-40가격) 혹시 미청산 된것있으면 종가청산(새벽5시); 하루 1번씩만 진입...청산..