私たちのファンページに参加してください
StopLoss Calculation - MetaTrader 4のためのライブラリ
- ビュー:
- 13946
- 評価:
- パブリッシュ済み:
- 2016.04.06 17:13
- このコードに基づいたロボットまたはインジケーターが必要なら、フリーランスでご注文ください フリーランスに移動
This library made to simplify calculating your Stop Loss for market execution orders.
This library enables you to put your Stop Loss in Points, or you can make ATR(true) to calculate your stop loss depending on ATR indicator; and you can change ATR Multiplier which is 3 by default.
Your Stop Loss is calculated depending on your position, if you are opening Buy position, use StpLoss(0) function with Parameter=0, or use StpLoss(1) function with Parameter=1 for Sell positions.
If you want to use this function for OrderModify(), you can put StopLoss= StpLoss(OrderType()).
This library has SmartTrail trail function that depends on the previous candle.
MoneyManagementIt calculates the lot size depending on risk percentage entered by user in input parameters.
This is an indicator which draws Fibonacci levels as indicator indexes.
Hidden StopLossThis library is made for experts that need to calculate StopLoss and TakeProfit without putting SL/TP points on the trade.