커뮤니티

부탁합니다

프로필 이미지
야크
2018-01-07 21:29:58
175
글번호 115525
답변완료
항상감사합니다. 아래 두개[1][2] 시스템을 매수 매도 다 나오게 부탁합니다. [1]번 /******************************************************************* Description : Pivot Point Breakout Long Entry ********************************************************************/ Inputs: Strength(5); Variables: HighPivot(0); If SwingHigh(1, High, Strength, Strength, Strength*2+1) <> -1 Then Begin Condition1 = True; HighPivot = High[Strength]; End; If MarketPosition() == 1 Then Condition1 = False; If Condition1 Then Buy ("PivB", AtStop, HighPivot); [2]번 /******************************************************************* Description : Parabolic Long Entry ********************************************************************/ Input: AccelFactor(0.02); Variables: ParabolicValue(0); ParabolicValue = SAR(AccelFactor, 0.2); If High <= ParabolicValue Then Buy ("Pblc", AtStop, ParabolicValue);
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2018-01-08 18:33:32

안녕하세요 예스스탁입니다. 조건을 반대로 지정해서 매도식으로 추가해 드립니다. 1 Inputs: Strength(5); Variables: HighPivot(0),LowPivot(0); If SwingHigh(1, High, Strength, Strength, Strength*2+1) <> -1 Then Begin Condition1 = True; HighPivot = High[Strength]; End; If MarketPosition() == 1 Then Condition1 = False; If Condition1 Then Buy ("PivB", AtStop, HighPivot); If SwingLow(1, Low, Strength, Strength, Strength*2+1) <> -1 Then Begin Condition2 = True; LowPivot = Low[Strength]; End; If MarketPosition() == 1 Then Condition2 = False; If Condition2 Then sell ("PivS", AtStop, LowPivot); 2 Input: AccelFactor(0.02); Variables: ParabolicValue(0); ParabolicValue = SAR(AccelFactor, 0.2); If High <= ParabolicValue Then Buy ("bPblc", AtStop, ParabolicValue); If Low >= ParabolicValue Then sell("sPblc", AtStop, ParabolicValue); 즐거운 하루되세요 > 야크 님이 쓴 글입니다. > 제목 : 부탁합니다 > 항상감사합니다. 아래 두개[1][2] 시스템을 매수 매도 다 나오게 부탁합니다. [1]번 /******************************************************************* Description : Pivot Point Breakout Long Entry ********************************************************************/ Inputs: Strength(5); Variables: HighPivot(0); If SwingHigh(1, High, Strength, Strength, Strength*2+1) <> -1 Then Begin Condition1 = True; HighPivot = High[Strength]; End; If MarketPosition() == 1 Then Condition1 = False; If Condition1 Then Buy ("PivB", AtStop, HighPivot); [2]번 /******************************************************************* Description : Parabolic Long Entry ********************************************************************/ Input: AccelFactor(0.02); Variables: ParabolicValue(0); ParabolicValue = SAR(AccelFactor, 0.2); If High <= ParabolicValue Then Buy ("Pblc", AtStop, ParabolicValue);