커뮤니티

시스템식

프로필 이미지
erwe343
2011-03-09 13:27:15
720
글번호 36410
답변완료
매수: Data2 > 0 아래의 식에서 위의 매수조건사항을 추가해주세요. ------------------------------------------------------- input : P(1.2),x(0.5); if stime == 90000 Then buy("b1",AtMarket); if stime <= 144900 and CurrentEntries < 5 Then{ if MarketPosition == 1 Then buy("bb",atlimit,EntryPrice*(1-(P*CurrentEntries)/100)); } if MarketPosition == 1 Then ExitLong("bx",atlimit,AvgEntryPrice*(1+X/100));
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2011-03-09 14:53:36

안녕하세요 예스스탁입니다. input : P(1.2),x(0.5); if stime == 90000 Then buy("b1",AtMarket); if stime <= 144900 and CurrentEntries < 5 Then{ if MarketPosition == 1 and Data2(c) > 0 Then buy("bb",atlimit,EntryPrice*(1-(P*CurrentEntries)/100)); } if MarketPosition == 1 Then ExitLong("bx",atlimit,AvgEntryPrice*(1+X/100)); 즐거운 하루되세요 > erwe343 님이 쓴 글입니다. > 제목 : 시스템식 > 매수: Data2 > 0 아래의 식에서 위의 매수조건사항을 추가해주세요. ------------------------------------------------------- input : P(1.2),x(0.5); if stime == 90000 Then buy("b1",AtMarket); if stime <= 144900 and CurrentEntries < 5 Then{ if MarketPosition == 1 Then buy("bb",atlimit,EntryPrice*(1-(P*CurrentEntries)/100)); } if MarketPosition == 1 Then ExitLong("bx",atlimit,AvgEntryPrice*(1+X/100));