MT5-AH ScriptSell

¥1,559.00

  • Brand: LANCOME
  • Product Code:
  • Availability: In Stock

- +
Main Image
I find the lot calculation tedious so I just use this script and tell it the dollar amount to use. It then does the rest. This works for any currency.


How-To:

Open a sell position using the desired dollar amount instead of lots.

To use, just drop it onto a chart and set inputs as needed.

The script will then do the necessary lot calculation and open the trade.


Inputs:
  • FIXED_DEAL_AMOUNT: Fixed amount to use per trade e.g 100 to open a R100 deal
  • USE_SL_ON_BUY: If true then a suitable stoploss will be used, else no stop is placed but can be placed manually after opening position

One can also set a global variable '_Symbol+_MAX_SPREAD' to set max spread limit for each traded instrument.

e.g For EURUSD the global variable would be: EURUSD_MAX_SPREAD

e.g For Nasdaq 100 the global variable would be: Nasdaq 100_MAX_SPREAD


Code and License:

The source code for this script is released under GPL v3 and is available at https://github.com/wait4signal/autumn-harvest/blob/main/ScriptSell.mq5


Write a review

Note: HTML is not translated!
Bad Good