당사 팬 페이지에 가입하십시오
Sell using amount instead of lots - MetaTrader 5용 스크립트
- 조회수:
- 7489
- 평가:
- 게시됨:
- 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.
- 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
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 algorithma simple sorting algorithm that people use to manually sort cards in a bridge hand
This is a wrap for using databasexxx
Spread data collectorThis EA collects information about the spreads and Shows the number of spreads in the specified range based on the ticks that occur each year.