커뮤니티

오일수식하나 더 부탁드립니다.

프로필 이미지
신나는파파
2015-02-01 17:47:54
138
글번호 82837
답변완료
#### 1번째수식(조건: 40이평의 +50틱이상 상승하면 조건만족) 40 이평의 -10가격에 ------> 1매수진입(익절:40이평의+70, 손절:40이평의-40) 40 이평의 -20가격에 ------> 1매수진입(익절:40이평의+70, 손절:40이평의-40) 40 이평의 -30가격에 ------> 1매수진입(익절:40이평의+70, 손절:40이평의-40) 혹시 미청산 된것있으면 종가청산(새벽5시); 청산되고 나서 (바로청산된가격에서)바로 재진입안되게 부탁드리구요.. 청산되고 나서 다시 40이평의 +50틱이상 상승하면 다시 위 수식대로 반복매수 하고 싶습니다. (하루종일 반복) #### 2번째수식(조건: 40이평의 -50틱이하 하락하면 조건만족) 40 이평의 +10가격에 ------> 1매도진입(익절:40이평의-70, 손절:40이평의+40) 40 이평의 +20가격에 ------> 1매도진입(익절:40이평의-70, 손절:40이평의+40) 40 이평의 +30가격에 ------> 1매도진입(익절:40이평의-70, 손절:40이평의+40) 혹시 미청산 된것있으면 종가청산(새벽5시); 청산되고 나서 (바로청산된가격에서)바로 재진입안되게 부탁드리구요.. 청산되고 나서 다시 40이평의 -50틱이하 하락하면 다시 위 수식대로 반복매도 하고 싶습니다. (하루종일 반복)
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2015-02-02 15:32:46

안녕하세요 예스스탁입니다. 1. var : Entry(false),mav(0),Bcond(false); var : Bcond1(false),Bcond2(false),Bcond3(false); mav = ma(c,40); if Bdate != Bdate[1] Then{ Entry = false; Bcond = false; Bcond1 = false; Bcond2 = false; Bcond3 = 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 BarsSinceExit(1) == 1 Then{ Bcond = false; Bcond1 = false; Bcond2 = false; Bcond3 = false; } if MarketPosition == 0 and Entry == true and Bcond == false and H >= mav+PriceScale*50 Then Bcond = true; if MarketPosition >= 0 and Bcond == true Then { if Bcond1 == false and L > mav-10*PriceScale Then buy("b1",Atlimit,mav-10*PriceScale); if Bcond2 == false and L > mav-20*PriceScale Then buy("b2",Atlimit,mav-20*PriceScale); if Bcond3 == false and L > mav-30*PriceScale Then buy("b3",Atlimit,mav-30*PriceScale); } if MarketPosition == 1 Then{ ExitLong("bl",AtStop,mav-40*PriceScale); ExitLong("bp",AtStop,mav+70*PriceScale); } if stime == 050000 or (stime> 050000 and stime[1] < 050000) Then{ Entry = false; ExitLong("bx"); } 2. var : Entry(false),mav(0),Scond(false); var : Scond1(false),Scond2(false),Scond3(false); if Bdate != Bdate[1] Then{ Entry = true; Scond = false; Scond1 = false; Scond2 = false; Scond3 = 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 BarsSinceExit(1) == 1 Then{ Scond = false; Scond1 = false; Scond2 = false; Scond3 = false; } if MarketPosition == 0 and Entry == true and Scond == false and L <= mav-PriceScale*50 Then Scond = true; if MarketPosition >= 0 and Scond == true Then { if Scond1 == false and H < mav+10*PriceScale Then Sell("s1",Atlimit,mav+10*PriceScale); if Scond2 == false and H < mav+20*PriceScale Then Sell("s2",Atlimit,mav+20*PriceScale); if Scond3 == false and H < mav+30*PriceScale Then Sell("s3",Atlimit,mav+30*PriceScale); } if MarketPosition == -1 Then{ ExitShort("sl",AtStop,mav+40*PriceScale); ExitShort("sp",AtStop,mav-70*PriceScale); } if stime == 050000 or (stime> 050000 and stime[1] < 050000) Then{ Entry = false; ExitShort("sx"); } 즐거운 하루되세요 > 신나는파파 님이 쓴 글입니다. > 제목 : 오일수식하나 더 부탁드립니다. > #### 1번째수식(조건: 40이평의 +50틱이상 상승하면 조건만족) 40 이평의 -10가격에 ------> 1매수진입(익절:40이평의+70, 손절:40이평의-40) 40 이평의 -20가격에 ------> 1매수진입(익절:40이평의+70, 손절:40이평의-40) 40 이평의 -30가격에 ------> 1매수진입(익절:40이평의+70, 손절:40이평의-40) 혹시 미청산 된것있으면 종가청산(새벽5시); 청산되고 나서 (바로청산된가격에서)바로 재진입안되게 부탁드리구요.. 청산되고 나서 다시 40이평의 +50틱이상 상승하면 다시 위 수식대로 반복매수 하고 싶습니다. (하루종일 반복) #### 2번째수식(조건: 40이평의 -50틱이하 하락하면 조건만족) 40 이평의 +10가격에 ------> 1매도진입(익절:40이평의-70, 손절:40이평의+40) 40 이평의 +20가격에 ------> 1매도진입(익절:40이평의-70, 손절:40이평의+40) 40 이평의 +30가격에 ------> 1매도진입(익절:40이평의-70, 손절:40이평의+40) 혹시 미청산 된것있으면 종가청산(새벽5시); 청산되고 나서 (바로청산된가격에서)바로 재진입안되게 부탁드리구요.. 청산되고 나서 다시 40이평의 -50틱이하 하락하면 다시 위 수식대로 반복매도 하고 싶습니다. (하루종일 반복)