Gli script sono piccole applicazioni che eseguono operazioni uniche. Per esempio, puoi cancellare tutti gli oggetti da un grafico o effettuare una serie di ordini per una posizione aperta. Qui troverai centinaia di applicazioni che possono automatizzare piccole funzioni analitiche o di trading.
Gli script si possono scaricare ed eseguire gratuitamente su MetaTrader 4.
Consenti l'uso dei cookie per accedere al sito MQL5.com.
Abilita le impostazioni necessarie nel browser, altrimenti non sarà possibile accedere.
Hai effettuato l'accesso. L'autenticazione a due fattori è stata disattivata. Configurala di nuovo e scansiona un nuovo codice QR, oppure continua con l'autenticazione a due fattori disattivata.
Attiva l'autenticazione a due fattori ContinuaTo assist traders who wish to open multiple buy orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20. NumberOfBuys is the number trades the trader wish to open instantly. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple buy orders, it can save traders valuable time and allow them to focus on other aspects of their trading strategy.
Below you can find a super simple method to create a license based on MT4 account name. Place in your init function: CheckLicense(); The stringLower method makes sure the account name is in lowercase. Then you can check this value with the account name you want to check.
Convert historical data from M1 to M1, M5, M15, M30, H1, H4, D1, W1 and MN, specifying the start date.
This Script is the example of using function LineNotify that use to send message to LINE APP via Line Notify service As the function LineNotify use webrequest to send HTTP request so it can be used in EA or Script program only , can't use in Indicator program
This simple quick & dirty script code will output a CSV file of all the Signals' properties as reported by the MQL4 Trade Signals functionality.
Just simple codes to Disable/Enable Auto/Algo-Trading in both MT5 and MT4. Of course, DLLs must be allowed, This cannot be done without DLLs
it saves the current chart to default template , it just helps to do it faster than a manual save. you can assign a hotkey for it. it has no confirmation and immediately saves the template, if you want it to save to a template other than default just edit the code and replace "default.tpl" to any other name you want.
This code helps beginners in MQL4, specially those migrating from C++ to perform some basic fie operation.
The script is best use to clean up all drawings ( Delete All Object, Comment, horizontal line, vertical line, arrows etc) on current chart. Please feel free to modify based on your needs.
Molti sviluppatori affrontano lo stesso problema: come accedere alla sandbox del terminale di trading senza utilizzare DLL non sicure. Uno dei metodi più semplici e sicuri consiste nell'utilizzare Named Pipe standard che funzionano come normali operazioni sui file.
Bene, le funzioni di operazioni su file sono utilizzate nella libreria di sistema kernel32.dll. E' questa la libreria che importiamo nell'EA. Il codice è allegato.
E' designato per creare un periodo non standard del simbolo basato sull'uso di un periodo standard.
Lo script invia un ordine pendente SELL STOP con data di espirazione e stampa il numero del ticket.
Modifica Ordine Pendente - script che sceglie il primo ordine pendente nella lista, stampa i dati dell'ordine pendente selezionato, lo modifica e ne stampa i dati dopo la modifica.
Modifica - script che sceglie il primo ordine nella lista buy o sell, stampa i dati dell'ordine selezionato, modifica l'ordine e ne stampa i dati dopo la modifica.
Cancellazione Ordine Pendente - script che stampa i dati del primo ordine pendente selezionato nella lista e lo cancella.
Esempio di lavoro con gli oggetti: creazione di oggetti, modifica delle proprietà, ridisegnare il grafico.
Misura tutte le sezioni che uniscono le interruzioni dello ZigZag, i valori risultanti sono espressi in punti.
Semplice esempio di lavoro con gli oggetti: creazione di oggetti, modifica delle proprietà, ridisegno grafico.
A script that displays MarketInfo and SymbolInfo data through a button list built from MarketWatch.
Building good trading habits by seeing things in terms of percentage not in terms of money.