RedeeCash 4XLOTS
- librerie
- Patrick Odonnell Ingle
- Versione: 1.0
- Attivazioni: 10
La libreria RedeeCash 4XLOTS è una libreria di gestione del rischio localizzata basata sull'algoritmo WEB API di 4xlots.com. Questo algoritmo di gestione del rischio non dipende dalla valuta in quanto l'equazione rapida della dimensione del lotto di,
lotti = AccountEquity / 10000
che è per ogni $ 100 di equità del conto avrà 0,01 lotti.
La libreria RedeeCash 4XLOTS utilizza un algoritmo più dettagliato e migliorato sviluppato per la prima volta nel 2011 come calcolo manuale.
RedeeCash 4XLOTS ha un'unica funzione chiamata LotsOptimize. Copia e includi il seguente file RedeeCash_4XLOTS.mqh nel tuo progetto.
//+------------------------------------------------------------------+ //| RedeeCash_4XLOTS.mqh | //| Copyright 2011-2022, PressPage Entertainment Inc DBA RedeeCash | //| https://4xlots.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2011-2022, PressPage Entertainment Inc DBA RedeeCash" #property link "https://4xlots.com" #property strict //+------------------------------------------------------------------+ //| defines | //+------------------------------------------------------------------+ //+------------------------------------------------------------------+ //| DLL imports | //+------------------------------------------------------------------+ //+------------------------------------------------------------------+ //| EX4 imports | //+------------------------------------------------------------------+ #import "Market/RedeeCash_4XLOTS.ex4" double LotsOptimize(double deposit,int preserve); #import //+------------------------------------------------------------------+
Per utilizzare la libreria, includi il riferimento MQH sopra nel tuo file di progetto e passa due parametri, l'importo totale del deposito sul conto e un flag booleano se preservare il deposito riducendo l'importo nel calcolo.
Verrà restituita la dimensione ottimale dei lotti compresa tra la dimensione minima e massima dei lotti dell'account.
Il video seguente parla dell'API Web, ma questa versione utilizza lo stesso algoritmo incorporato nella libreria senza la necessità di un'invocazione API esterna. Ancora più importante, Priscilla parla dell'importanza di implementare un algoritmo di gestione del rischio scalabile nel tuo algoritmo di trading per ridurre al minimo il rischio massimizzando i profitti.
AVVISO DI RISCHIO:
L'UTILIZZO POTREBBE SUPERARE IL 50% DEL SALDO DEL CONTO.