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

Symbol Specification Probe - tick size, tick value, money value of a stop - MetaTrader 5용 스크립트

Jevon Naldo Yoshield
Jevon Naldo Yoshield
I build MT5 and MT4 tools. Twenty-one are on the Market: eighteen free, four paid.
조회수:
72
평가:
(1)
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The specification the terminal holds for the symbol, with the money value of the stop printed under it.

The terminal reports a symbol's trade tick value next to the values that give it meaning: the point, the trade tick size and the contract size. This script prints the whole set for one symbol and then prices a stop of a given number of pips at a given volume, so a figure can be traced to the properties that produced it.

What it does

  • Reads one symbol, the chart's own unless another name is typed in, and prints its specification.
  • Prints digits, point, trade tick size, trade tick value, contract size, volume minimum, volume maximum, volume step and the stops level.
  • Each value is read from the symbol at run time, so the same script answers for a second symbol.
  • Prices a stop: the pip count becomes a price distance, the distance becomes a count of ticks, and the ticks become money at the volume entered.
  • Draws no object on the chart and sends no order.

How it works

  • The symbol input holds the name to probe. An empty value means the symbol of the chart the script was started on.
  • Digits and the point come from the symbol; the point is the price increment those digits imply.
  • The trade tick size is read as its own property: the smallest price change the instrument can make.
  • The pip is ten points on a 3- or 5-digit symbol, and one point on every other symbol.
  • The money uses the trade tick size, not the point, so a symbol whose tick grid is coarser than its point is priced on the grid it trades.
  • The arithmetic is three steps: the pip count times the pip, that distance divided by the trade tick size, that count of ticks times the trade tick value times the volume.

Inputs

  • Symbol - the instrument name to probe. Empty reads the symbol of the chart it runs on.
  • Stop in pips - the distance priced in money, in the pip the script uses.
  • Volume - the lot size the money line is computed at, entered in lots.

How to use it

  • Put TickValueProbe.mq5 in MQL5/Scripts and compile it in MetaEditor.
  • Attach it to a chart, or run it once from the Navigator.
  • Set the three inputs, then read the printed block in the Experts log.
  • Run it again with another name in the symbol input to put two specifications side by side.
  • Redo one money figure by hand from the printed values: distance over trade tick size, times trade tick value, times volume.

Limits

  • It prints and computes. It does not size a lot, place an order or choose a symbol.
  • The money figure carries no commission, no swap and no slippage.
  • The values are the ones the terminal holds at the moment of the run.
  • The pip is a convention: this script uses ten points on a 3- or 5-digit symbol and one point on every other. A figure from a tool that uses another pip will not match this one.
  • The stops level is printed for information, and no order is placed, so no distance is checked against it.
  • The trade tick value is used as the terminal reports it; no currency conversion is applied.
Gaussian Auto EA Gaussian Auto EA

Trend-following breakout EA using a Gaussian-filtered channel, ATR bands, risk-based lot sizing, and an R-multiple trailing stop.

RH Trade Panel - Risk-Based One-Click Trading with Session Tracker RH Trade Panel - Risk-Based One-Click Trading with Session Tracker

Manual one-click trading panel for MetaTrader 5. Calculates the lot size from your risk % and stop loss (always rounded down), places SL/TP by pips and reward:risk, and manages trades with breakeven, trailing stop and Close All (only its own trades). Shows balance, equity, spread, floating P/L and an Asia / London / New York session tracker. No trading strategy inside: trades open only when you click BUY or SELL.

Break-Even and Trailing Stop Manager for Open Positions Break-Even and Trailing Stop Manager for Open Positions

Utility Expert Advisor that moves the stop loss of open positions to break-even and then trails it by a fixed pip distance or an ATR multiple. It never opens trades.

Equity Drawdown and Daily Loss Guard Equity Drawdown and Daily Loss Guard

Utility Expert Advisor that closes all open positions when equity falls a set percentage below its peak or when today's loss reaches a limit. It never opens trades.