Unisciti alla nostra fan page
Questa funzione esegue la logica principale dell'apertura di un'operazione. Calcola il prezzo di apertura, i livelli di take profit e di stop loss in base alle informazioni sul simbolo e ai parametri forniti dall'utente. Prepara una richiesta di negoziazione (MqlTradeRequest) con le informazioni necessarie come simbolo, volume, tipo di ordine, slippage, commento, numero magico, ecc. Richiamare la funzione OrderSend per inviare la richiesta di negoziazione e ottenere il risultato. Funzione SetTypeFillingBySymbol: determina il tipo di esecuzione dell'ordine (riempimento o annullamento, immediato o annullamento o restituzione) in base alla politica di esecuzione del simbolo. Funzione GetMinTradeLevel: calcola il livello minimo di negoziazione in base al livello di blocco e al livello di stop del simbolo. Regola il livello minimo per garantire che sia entro certi limiti e restituisce il risultato.
Eliminerà tutti gli oggetti del grafico quando l'eseguibile compilato verrà trascinato sul grafico.
Un piccolo script per semplificare la vita dei trader. L'unica cosa che mi infastidisce sempre è reimpostare le proprietà, come i colori, di un nuovo grafico, per farlo apparire come mi piace. Ecco quindi uno script per rendere le cose più semplici.
Script per determinare se il Broker segue l'orario diurno degli Stati Uniti, del Regno Unito o dell'Unione Europea (DST).
This script finds DeMark pivot points, displays them on the chart and indicates their dimensions.
This function performs the main logic of opening a trade. Calculates the opening price, take profit levels and stop loss based on symbol information and parameters provided by the user. Prepare a trade request (MqlTradeRequest) with the necessary information, such as symbol, volume, order type, deviation, comment, magic number, etc. Call the OrderSend function to send the operation request and get the result. SetTypeFillingBySymbol function: Determines the order fill type (Fill or Kill, Immediate or Cancel, or Return) based on the symbol's filling policy. GetMinTradeLevel function: Calculates the minimum operating level based on the freeze level and the symbol stops level. Adjusts the minimum level to make sure it is within certain limits and returns the result.
Codice di esempio per contare il numero consecutivo di barre toro o orso.
The script obtains information about the number, types and sizes of input and output tensors in an ONNX model
Script MQL5 per MetaTrader 5 che aggiunge due pulsanti per chiudere tutte le posizioni di acquisto o vendita per il simbolo corrente.
Set StopLoss by just dragging and dropping script on the desired price level.
hi, this code need your telegram token and telegram chat id . you can make robot by BotFather and then search in google how you can find telegram token and chat id then attach them to this code . now every trade would be signals on your telegram channel.
script per aprire una posizione di acquisto al prezzo corrente nella finestra MT5 con uno stop loss (in pip) e un take profit (in pip) specificati
Un piccolo esempio di calcolo del frattale di Mandelbrot in OpenCL, che accelera notevolmente il calcolo rispetto all'implementazione software di circa 100 volte.
The script controls the display of time and price scales for all open charts or only for one chart.
This is the version 2 of my script to export the trade history from MT5 selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software. More columns were added and fixed minor errors. The code for processing and exporting data was rewritten.
Encapsulating a family of interchangeable algorythms which can be modified independently from the client.
Lo script TradeReportExporter è progettato per esportare la cronologia delle operazioni (trade) in un comodo file CSV. Raccoglie automaticamente i dati di tutte le operazioni dell'ultimo anno per lo strumento su cui è installato. Il file include dati quali data e ora, tipo di transazione (acquisto/vendita), prezzo, volume, commissione e profitto/perdita. Il risultato viene salvato in un file che può essere aperto in Excel o in qualsiasi altro editor di fogli di calcolo.
Multi buylimit and buystop orders are script files that enable traders to place multiple orders with ease. With just one command, traders can place multiple buylimit or buystop orders using either a target price or pips. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. This setup includes stop-loss and take-profit levels, which can be adjusted based on the trader's preferences. Notably, these orders come with a level of flexibility that enables traders to fine-tune their trading strategies. For instance, a trader can opt to set the stop-loss level to zero if they do not use stop-loss.
Ecco un semplice esempio che mostra come scaricare una pagina (file) da Internet utilizzando la libreria wininet.dll.
The script tests the computer in 45 performance tests. It is possible to compare the performance of VPS/VDS servers.
Learn how to split the volume data into different groups so that you can compare them and create a strategy based on volume average.
Calculates the risk in the account currency for a given trading volume of the selected symbol at different time periods.
The script is useful for inspecting the structure of ONNX models, providing insights into the input and output, their names, and their properties. It is particularly helpful for debugging and understanding the characteristics of ONNX models used in machine learning applications.
Un semplice script di partenza per raccogliere dati e inviarli a un CSV nell'ordine più vecchio più nuovo. In questo esempio vengono raccolti solo i dati relativi al prezzo di chiusura.
Questo script vi aiuterà ad ottenere per MetaTrader 4 una cronologia completa senza buchi dal database di MetaTrader 5.
Export of all necessary instruments and time frames in one click with load and checking history