Guarda come scaricare robot di trading gratuitamente
Ci trovi su Facebook!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Script

Print Closed Position - script per MetaTrader 5

Visualizzazioni:
7270
Valutazioni:
(18)
Pubblicato:
2020.12.05 22:05
Aggiornato:
2021.10.25 17:20
Freelance MQL5 Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

The script prints info about a closed position by its position ticket or identifier, on a retail hedging account.

It supports only retail hedging accounts (Forex).




    Following info are printed to the 'Experts' log:

    • Position Open Time
    • Position Symbol
    • Position Ticket: this is the position ID
    • Position Type
    • Position Volume
    • Position Open Price
    • Position S/L, updated to the last stoploss price for the position
    • Position T/P, updated to the last takeprofit price for the position
    • Position Close Time
    • Position Close Price
    • Position Commission
    • Position Swap
    • Position Profit
    • Position Magic Number
    • Position Open Reason, this includes reason of opening the position (client, mobile, web, expert)
    • Position Close Reason, this includes reason of closing the position (client, mobile, web, expert, sl, tp, so, ...)
    • Position Open Comment, this includes comment of the deal in for position
    • Position Close Comment, this includes comments of all the deals out for position
    • Position Deal In Ticket, this includes ticket of the deal in for position
    • Position Deal Out Ticket(s), this includes tickets of all the deals out for position


    Deviation Rate BIAS MT5 Deviation Rate BIAS MT5

    Stock trading indicators. BIAS.

    AverageRangeLines_v1.6 AverageRangeLines_v1.6

    ADR,AWR,AMR,Draws Average Range Lines

    template method - behavioral design pattern template method - behavioral design pattern

    define the skeleton of an algorithm in an operation, deferring some steps to subclasses. template method lets subclasses redefine certain steps of an algorithm without changing the algorithm's structure

    visitor - behavioral design pattern visitor - behavioral design pattern

    represent an operation to be performed on the elements of an object structure. visitor lets you define a new operation without changing the classes of the elements on which it operates