거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
스크립트

Sell using amount instead of lots - MetaTrader 5용 스크립트

조회수:
7245
평가:
(17)
게시됨:
2021.01.27 15:36
업데이트됨:
2021.05.26 14:27
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

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 


    Buy using amount instead of lots Buy using amount instead of lots

    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.

    insertion sort - array sorting algorithm insertion sort - array sorting algorithm

    a simple sorting algorithm that people use to manually sort cards in a bridge hand

    Database Wrapper Database Wrapper

    This is a wrap for using databasexxx

    Spread data collector Spread data collector

    This EA collects information about the spreads and Shows the number of spreads in the specified range based on the ticks that occur each year.