커뮤니티

문의드립니다

프로필 이미지
파파리리
2017-04-06 15:54:29
200
글번호 108538
답변완료
안녕하세요 수고하십니다 아래는 일전에 만들어주신것 입니다 진입방식 가공하고십습니다 1차 매수가 들어가면 예로 1차에 250.80 에 1계약매수 만약 하락한다면 2차 매수가는 250.00 2계약매수 이상태에서 평균가 250.40이고요 반등한다면250.40에 1계약 본청 합니다 진입되어있는 1계약은 250.40 여기서 또하락한다면 -0.80 인 249.60에 2계약진입 입니다 이런식입니다 진입하고 하락하면 진입되어있는 계약수에 곱하이2값으로 또진입 입니다 평균가에오면 1계약만 나두고 다 본청 입니다 그리고 진입기준이 장시작하고 5분이지나고 5분까지의 최고 최저를 기준으로 위 아래로 0.80 부터가 처음 진입하여야 합니다 부탁드립니다 항상 감사합니다 var : P(0); if bdate != bdate[1] Then{ var1 = h; var2 = l; } if bdate == Bdate Then{ if MarketPosition <= 0 then buy("b",AtLimit,var2-0.80,1); if MarketPosition == 1 Then{ if CurrentContracts > CurrentContracts[1] Then P = LatestEntryPrice(0); if CurrentContracts < CurrentContracts[1] Then P = LatestExitPrice(0); buy("bb",atlimit,P-0.80,CurrentContracts*1); if CurrentContracts >= 2 Then exitlong("bx",AtLimit,AvgEntryPrice,"",CurrentContracts-1,1); } if MarketPosition >= 0 then sell("s",AtLimit,var1+0.80,1); if MarketPosition == -1 Then{ if CurrentContracts > CurrentContracts[1] Then P = LatestEntryPrice(0); if CurrentContracts < CurrentContracts[1] Then P = LatestExitPrice(0); sell("ss",atlimit,P+0.80,CurrentContracts*1); if CurrentContracts >= 2 Then ExitShort("sx",AtLimit,AvgEntryPrice,"",CurrentContracts-1,1); } } SetStopProfittarget(0.5,PointStop);
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2017-04-07 11:36:10

안녕하세요 예스스탁입니다. 피라미딩을 모든 진입신호로 설정하고 적용하시면 됩니다. var : P(0),T1(0); if Bdate != Bdate[1] Then{ T1 = TimeToMinutes(stime); } if TimeToMinutes(stime) < T1+5 Then{ var1 = DayHigh; var2 = DayLow; } if bdate == Bdate and TimeToMinutes(stime) >= T1+5 Then{ if MarketPosition <= 0 then buy("b",AtLimit,var2-0.80,1); if MarketPosition == 1 Then{ if CurrentContracts > CurrentContracts[1] Then P = LatestEntryPrice(0); if CurrentContracts < CurrentContracts[1] Then P = LatestExitPrice(0); buy("bb",atlimit,P-0.80,CurrentContracts*1); if CurrentContracts >= 2 Then exitlong("bx",AtLimit,AvgEntryPrice,"",CurrentContracts-1,2); } if MarketPosition >= 0 then sell("s",AtLimit,var1+0.80,1); if MarketPosition == -1 Then{ if CurrentContracts > CurrentContracts[1] Then P = LatestEntryPrice(0); if CurrentContracts < CurrentContracts[1] Then P = LatestExitPrice(0); sell("ss",atlimit,P+0.80,CurrentContracts*1); if CurrentContracts >= 2 Then ExitShort("sx",AtLimit,AvgEntryPrice,"",CurrentContracts-1,2); } } SetStopProfittarget(0.5,PointStop); 즐거운 하루되세요 > 파파리리 님이 쓴 글입니다. > 제목 : 문의드립니다 > 안녕하세요 수고하십니다 아래는 일전에 만들어주신것 입니다 진입방식 가공하고십습니다 1차 매수가 들어가면 예로 1차에 250.80 에 1계약매수 만약 하락한다면 2차 매수가는 250.00 2계약매수 이상태에서 평균가 250.40이고요 반등한다면250.40에 1계약 본청 합니다 진입되어있는 1계약은 250.40 여기서 또하락한다면 -0.80 인 249.60에 2계약진입 입니다 이런식입니다 진입하고 하락하면 진입되어있는 계약수에 곱하이2값으로 또진입 입니다 평균가에오면 1계약만 나두고 다 본청 입니다 그리고 진입기준이 장시작하고 5분이지나고 5분까지의 최고 최저를 기준으로 위 아래로 0.80 부터가 처음 진입하여야 합니다 부탁드립니다 항상 감사합니다 var : P(0); if bdate != bdate[1] Then{ var1 = h; var2 = l; } if bdate == Bdate Then{ if MarketPosition <= 0 then buy("b",AtLimit,var2-0.80,1); if MarketPosition == 1 Then{ if CurrentContracts > CurrentContracts[1] Then P = LatestEntryPrice(0); if CurrentContracts < CurrentContracts[1] Then P = LatestExitPrice(0); buy("bb",atlimit,P-0.80,CurrentContracts*1); if CurrentContracts >= 2 Then exitlong("bx",AtLimit,AvgEntryPrice,"",CurrentContracts-1,1); } if MarketPosition >= 0 then sell("s",AtLimit,var1+0.80,1); if MarketPosition == -1 Then{ if CurrentContracts > CurrentContracts[1] Then P = LatestEntryPrice(0); if CurrentContracts < CurrentContracts[1] Then P = LatestExitPrice(0); sell("ss",atlimit,P+0.80,CurrentContracts*1); if CurrentContracts >= 2 Then ExitShort("sx",AtLimit,AvgEntryPrice,"",CurrentContracts-1,1); } } SetStopProfittarget(0.5,PointStop);