커뮤니티

수정부탁합니다

프로필 이미지
상큼한아침
2012-03-07 10:14:18
367
글번호 48646
답변완료
Condition1 = ma(c,5) > ma(c,10) and ma(c,10) > ma(c,20)and ma(c,60) > ma(c,20); if MarketPosition == 0 and stime == 90000 and Condition1 == true then buy("b1"); if MarketPosition == 1 Then{ buy("b2",atlimit,EntryPrice*0.97); buy("b3",atlimit,EntryPrice*0.94); if MaxEntries == 1 and CurrentEntries == 1 Then exitlong("bx1",atlimit,EntryPrice*1.03); if MaxEntries == 2 and CurrentEntries == 2 Then exitlong("bx2",atlimit,EntryPrice); if MaxEntries == 3 and CurrentEntries == 3 Then{ exitlong("bx3",atlimit,EntryPrice*0.97); exitlong("loss",atlimit,EntryPrice*0.91); } } 2. Condition1 = ma(c,5) > ma(c,10) and ma(c,10) > ma(c,20)and ma(c,60) > ma(c,20); if MarketPosition == 0 and stime == 90000 and Condition1 == true then buy("b1"); if MarketPosition == 1 Then{ buy("b2",atlimit,EntryPrice*0.97); buy("b3",atlimit,EntryPrice*0.94); exitlong("bx",atlimit,AvgEntryPrice*1.03); if MaxEntries == 3 and CurrentEntries == 3 Then{ exitlong("loss",atlimit,EntryPrice*0.91); } } 위식에서 추가매수때 배수진입으로 수정 부탁합니다 미리감사합니다~~^^
시스템
답변 3
프로필 이미지

예스스탁 예스스탁 답변

2012-03-07 14:10:29

안녕하세요 예스스탁입니다. 배수진입이 어떤 내용을 의미하시는지 정확히 이해하지 못했습니다. 좀더 자세한 내용을 올려주시기 바랍니다. 즐거운 하루되세요 > 상큼한아침 님이 쓴 글입니다. > 제목 : 수정부탁합니다 > Condition1 = ma(c,5) > ma(c,10) and ma(c,10) > ma(c,20)and ma(c,60) > ma(c,20); if MarketPosition == 0 and stime == 90000 and Condition1 == true then buy("b1"); if MarketPosition == 1 Then{ buy("b2",atlimit,EntryPrice*0.97); buy("b3",atlimit,EntryPrice*0.94); if MaxEntries == 1 and CurrentEntries == 1 Then exitlong("bx1",atlimit,EntryPrice*1.03); if MaxEntries == 2 and CurrentEntries == 2 Then exitlong("bx2",atlimit,EntryPrice); if MaxEntries == 3 and CurrentEntries == 3 Then{ exitlong("bx3",atlimit,EntryPrice*0.97); exitlong("loss",atlimit,EntryPrice*0.91); } } 2. Condition1 = ma(c,5) > ma(c,10) and ma(c,10) > ma(c,20)and ma(c,60) > ma(c,20); if MarketPosition == 0 and stime == 90000 and Condition1 == true then buy("b1"); if MarketPosition == 1 Then{ buy("b2",atlimit,EntryPrice*0.97); buy("b3",atlimit,EntryPrice*0.94); exitlong("bx",atlimit,AvgEntryPrice*1.03); if MaxEntries == 3 and CurrentEntries == 3 Then{ exitlong("loss",atlimit,EntryPrice*0.91); } } 위식에서 추가매수때 배수진입으로 수정 부탁합니다 미리감사합니다~~^^
프로필 이미지

상큼한아침

2012-03-07 14:22:43

예) 첫번째매수 수량100주 1차추가매수는 첫번째 매수수량의 배수 200주 2차추가매수는 1차추가매수수량의 배수 400주가 되겟져~~ 수고하세요~~ > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 수정부탁합니다 > 안녕하세요 예스스탁입니다. 배수진입이 어떤 내용을 의미하시는지 정확히 이해하지 못했습니다. 좀더 자세한 내용을 올려주시기 바랍니다. 즐거운 하루되세요 > 상큼한아침 님이 쓴 글입니다. > 제목 : 수정부탁합니다 > Condition1 = ma(c,5) > ma(c,10) and ma(c,10) > ma(c,20)and ma(c,60) > ma(c,20); if MarketPosition == 0 and stime == 90000 and Condition1 == true then buy("b1"); if MarketPosition == 1 Then{ buy("b2",atlimit,EntryPrice*0.97); buy("b3",atlimit,EntryPrice*0.94); if MaxEntries == 1 and CurrentEntries == 1 Then exitlong("bx1",atlimit,EntryPrice*1.03); if MaxEntries == 2 and CurrentEntries == 2 Then exitlong("bx2",atlimit,EntryPrice); if MaxEntries == 3 and CurrentEntries == 3 Then{ exitlong("bx3",atlimit,EntryPrice*0.97); exitlong("loss",atlimit,EntryPrice*0.91); } } 2. Condition1 = ma(c,5) > ma(c,10) and ma(c,10) > ma(c,20)and ma(c,60) > ma(c,20); if MarketPosition == 0 and stime == 90000 and Condition1 == true then buy("b1"); if MarketPosition == 1 Then{ buy("b2",atlimit,EntryPrice*0.97); buy("b3",atlimit,EntryPrice*0.94); exitlong("bx",atlimit,AvgEntryPrice*1.03); if MaxEntries == 3 and CurrentEntries == 3 Then{ exitlong("loss",atlimit,EntryPrice*0.91); } } 위식에서 추가매수때 배수진입으로 수정 부탁합니다 미리감사합니다~~^^
프로필 이미지

예스스탁 예스스탁 답변

2012-03-07 15:11:06

안녕하세요 예스스탁입니다. 1. Condition1 = ma(c,5) > ma(c,10) and ma(c,10) > ma(c,20)and ma(c,60) > ma(c,20); if MarketPosition == 0 and stime == 90000 and Condition1 == true then buy("b1"); if MarketPosition == 1 Then{ buy("b2",atlimit,EntryPrice*0.97,CurrentContracts[BarsSinceEntry-1]*2); buy("b3",atlimit,EntryPrice*0.94,CurrentContracts[BarsSinceEntry-1]*3); if MaxEntries == 1 and CurrentEntries == 1 Then exitlong("bx1",atlimit,EntryPrice*1.03); if MaxEntries == 2 and CurrentEntries == 2 Then exitlong("bx2",atlimit,EntryPrice); if MaxEntries == 3 and CurrentEntries == 3 Then{ exitlong("bx3",atlimit,EntryPrice*0.97); exitlong("loss",atlimit,EntryPrice*0.91); } } 2. Condition1 = ma(c,5) > ma(c,10) and ma(c,10) > ma(c,20)and ma(c,60) > ma(c,20); if MarketPosition == 0 and stime == 90000 and Condition1 == true then buy("b1"); if MarketPosition == 1 Then{ buy("b2",atlimit,EntryPrice*0.97,CurrentContracts[BarsSinceEntry-1]*2); buy("b3",atlimit,EntryPrice*0.94,CurrentContracts[BarsSinceEntry-1]*2); exitlong("bx",atlimit,AvgEntryPrice*1.03); if MaxEntries == 3 and CurrentEntries == 3 Then{ exitlong("loss",atlimit,EntryPrice*0.91); } } 즐거운 하루되세요 > 상큼한아침 님이 쓴 글입니다. > 제목 : Re : Re : 수정부탁합니다 > 예) 첫번째매수 수량100주 1차추가매수는 첫번째 매수수량의 배수 200주 2차추가매수는 1차추가매수수량의 배수 400주가 되겟져~~ 수고하세요~~ > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 수정부탁합니다 > 안녕하세요 예스스탁입니다. 배수진입이 어떤 내용을 의미하시는지 정확히 이해하지 못했습니다. 좀더 자세한 내용을 올려주시기 바랍니다. 즐거운 하루되세요 > 상큼한아침 님이 쓴 글입니다. > 제목 : 수정부탁합니다 > Condition1 = ma(c,5) > ma(c,10) and ma(c,10) > ma(c,20)and ma(c,60) > ma(c,20); if MarketPosition == 0 and stime == 90000 and Condition1 == true then buy("b1"); if MarketPosition == 1 Then{ buy("b2",atlimit,EntryPrice*0.97); buy("b3",atlimit,EntryPrice*0.94); if MaxEntries == 1 and CurrentEntries == 1 Then exitlong("bx1",atlimit,EntryPrice*1.03); if MaxEntries == 2 and CurrentEntries == 2 Then exitlong("bx2",atlimit,EntryPrice); if MaxEntries == 3 and CurrentEntries == 3 Then{ exitlong("bx3",atlimit,EntryPrice*0.97); exitlong("loss",atlimit,EntryPrice*0.91); } } 2. Condition1 = ma(c,5) > ma(c,10) and ma(c,10) > ma(c,20)and ma(c,60) > ma(c,20); if MarketPosition == 0 and stime == 90000 and Condition1 == true then buy("b1"); if MarketPosition == 1 Then{ buy("b2",atlimit,EntryPrice*0.97); buy("b3",atlimit,EntryPrice*0.94); exitlong("bx",atlimit,AvgEntryPrice*1.03); if MaxEntries == 3 and CurrentEntries == 3 Then{ exitlong("loss",atlimit,EntryPrice*0.91); } } 위식에서 추가매수때 배수진입으로 수정 부탁합니다 미리감사합니다~~^^