커뮤니티

한번더 부탁합니다.

프로필 이미지
큰바위얼굴
2014-03-24 19:45:37
123
글번호 73784
답변완료
Input:Atrmuit(5.0); Var:poshigh(0),poslow(0); if C >= O Then buy(); if C <= O Then sell(); PosHigh = Highest(H,BarsSinceEntry+1); PosLow = Lowest(L,BarsSinceEntry+1); If MarketPosition<>0 Then{ ExitLong("El_추적Atr",AtStop,poshigh-ATR(20)*ATRmuit); ExitShort("Es_추적Atr",AtStop,Poslow+ATR(20)*ATRmuit); } 위에식과아래식 var1 = BollBandUp(20,2); var2 = BollBandDown(20,2); if C >= O Then{ if C > var1+0.5 then ExitShort(); Else buy(); } if C <= O Then{ if C < var2-0.5 Then ExitLong(); Else sell(); } 위두식을 동시에 사용하고어요 호환성되게 동시에묶어주세요 감사합니다항상
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2014-03-25 14:38:23

안녕하세요 예스스탁입니다. Input:Atrmuit(5.0); Var:poshigh(0),poslow(0); var1 = BollBandUp(20,2); var2 = BollBandDown(20,2); if C >= O Then{ if C > var1+0.5 then ExitShort(); Else buy(); } if C <= O Then{ if C < var2-0.5 Then ExitLong(); Else sell(); } PosHigh = Highest(H,BarsSinceEntry+1); PosLow = Lowest(L,BarsSinceEntry+1); If MarketPosition<>0 Then{ ExitLong("El_추적Atr",AtStop,poshigh-ATR(20)*ATRmuit); ExitShort("Es_추적Atr",AtStop,Poslow+ATR(20)*ATRmuit); } 즐거운 하루되세요 > 큰바위얼굴 님이 쓴 글입니다. > 제목 : 한번더 부탁합니다. > Input:Atrmuit(5.0); Var:poshigh(0),poslow(0); if C >= O Then buy(); if C <= O Then sell(); PosHigh = Highest(H,BarsSinceEntry+1); PosLow = Lowest(L,BarsSinceEntry+1); If MarketPosition<>0 Then{ ExitLong("El_추적Atr",AtStop,poshigh-ATR(20)*ATRmuit); ExitShort("Es_추적Atr",AtStop,Poslow+ATR(20)*ATRmuit); } 위에식과아래식 var1 = BollBandUp(20,2); var2 = BollBandDown(20,2); if C >= O Then{ if C > var1+0.5 then ExitShort(); Else buy(); } if C <= O Then{ if C < var2-0.5 Then ExitLong(); Else sell(); } 위두식을 동시에 사용하고어요 호환성되게 동시에묶어주세요 감사합니다항상