실제 저자:
dXerof
여러분, 오늘 소개할 EA는 손절매(Stop Loss)와 이익 실현(Take Profit)을 자동으로 설정해주는 AutoSLTP입니다. 이 EA는 수동으로 열린 포지션에 적용할 수 있습니다.
이 EA는 모든 통화 쌍에 대해 SL/TP를 설정할 수 있으며, 단 하나의 통화 차트에만 붙여주면 됩니다. 입력 설정에서 단일 통화 쌍 또는 모든 통화 쌍을 설정할 수 있습니다. AllPairs가 True로 설정되어 있으면 EA가 모든 쌍을 관리합니다. 그래서 하나의 차트에만 붙여주면 EA는 모든 쌍에 대해 작동하게 됩니다.
작은 업데이트:
이름: AutoSLTP upd.mq4
input double TakeProfit=400; // 40은 4자리, 400은 5자리 input double StopLoss=150; // 15는 4자리, 150은 5자리
slbuy=NormalizeDouble(OrderOpenPrice()-iStopLoss*poin,digi);
tpbuy=NormalizeDouble(OrderOpenPrice()+iTakeProfit*poin,digi);
slsell=NormalizeDouble(OrderOpenPrice()+iStopLoss*poin,digi);
tpsell=NormalizeDouble(OrderOpenPrice()-iTakeProfit*poin,digi);
입력 설정:
input bool AllPairs=True; // True: EA가 모든 쌍을 관리, False: EA가 붙인 쌍만 관리 input double TakeProfit=40; // 4자리 형식, 40(4D) 또는 400(5D) 중 하나만 입력하면 됨 input double StopLoss=15; // TakeProfit과 동일한 형식 input double DurasiTime=60; // EA가 60초 이내에 열린 포지션만 관리
댓글 0