Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

Close@Profit - expert for MetaTrader 4

Views:
65095
Rating:
(48)
Published:
2014.07.11 14:37
Updated:
2016.11.22 07:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Close@Profit is an EA that close orders after defined profit or loss.

You can define if to close only trades on current symbol or to close all orders on all symbols, to close only opened trades or also delete pending orders.

Based on Close at Profit idea from Matus German but including Commissions, Swaps and changes in UI.

Input variables

  • UseProfitToClose = true; - if it is true the EA will close trades when the profit is greater than defined profit to close
  • ProfitToClose = 100; - the defined profit in account currency, when close trades
  • UseLossToClose = false; - if it is true the EA will close trades when the loss is greater than defined loss to close
  • LossToClose = 100; - the defined loss in account currency, when close trades
  • AllSymbols = true; - if it is true the EA closes trades on all symbols, if false- only on current symbol where EA is attached
  • PendingOrders = true; - if it is true the EA closes also pending orders, on all symbols or current symbol depends on AllSymbols setting
  • MaxSlippage = 3; - maximal allowed slippage in pip
  • LegendColor = White; - color of label text
  • VariablesColor = Gold; - color of variables
  • FontSize = 8; - Font size

Time Filter Library Time Filter Library

The function will filter the trade positon. If the current time in the time you set, the function will return true.

Candle Time End And Spread Candle Time End And Spread

The indicator shows candle end time and current spread.

Forex Indicator Black & White Beauty Win ~ BBWin Forex Indicator Black & White Beauty Win ~ BBWin

BBWin is the Bollinger Bands® indicator in the separate window with trend lines.

Moving Avreage Moving Avreage

Once the price closes above or below the two moving (60 &100) a signal is generated. Signal must be generated ONLY in-case the price closes above/below the TWO lines.