Questo consulente è una continuazione del primo, ma, si apre molte volte più ordini. Perché? Perché gli ho aggiunto
controllo della ricerca di tendenza con ordini in sospeso. Cioè, ricorda in quale direzione si muove il prezzo e,
dove e perché ha aperto l'ultimo mandato... e in questo modo questo consulente si muove sempre nella giusta direzione.
La sua unica mancanza di ricchezza è se non lo configuri correttamente e lo fai funzionare con queste impostazioni.
Considera anche la media del prezzo corrente e arriva a qualsiasi conclusione e dal risultato si apre
atti. Controlla anche l'apertura della barra corrente e analizza le posizioni che sono state aperte prima.
L'unico inconveniente è che non ho specificato l'apertura degli ordini in sospeso in punti dal prezzo corrente.
È possibile che quando lo migliorerò, aggiungerò sicuramente questo parametro alle impostazioni...
extern Double Lots = 0.20 ; - il valore del lotto nella valuta del tuo conto presso il tuo broker per l'apertura
il primo ordine di acquisto.
extern Double LotsStop = 0.08 ; - il valore del lotto per un ordine in sospeso di stop.
extern Double LotsLimit = 0.08 ; - il valore del lotto per un ordine in sospeso limitato.
extern int TakeProfit = 400; - il prezzo di chiusura dell'ordine con profitto, calcolato in punti, per l'acquisto.
extern int TPB = 300; - il prezzo di chiusura dell'ordine con profitto, calcolato in punti, per l'acquisto.
extern int TPS = 350; - il prezzo di chiusura dell'ordine con profitto, calcolato in punti, in vendita.
extern int TPBstop = 300; - il prezzo di chiusura dell'ordine con profitto, calcolato in punti, per l'acquisto.
extern int TPSstop = 500; - il prezzo di chiusura dell'ordine con profitto, calcolato in punti, in vendita.
extern int TPBlimit = 400; - il prezzo di chiusura dell'ordine con profitto, calcolato in punti, per l'acquisto.
extern int TPSlimit = 600; - il prezzo di chiusura dell'ordine con profitto, calcolato in punti, in vendita.
extern int TPBlimit2 = 400; - il prezzo di chiusura dell'ordine con profitto, calcolato in punti, per l'acquisto.
extern int TPSlimit2 = 500; - il prezzo di chiusura dell'ordine con profitto, calcolato in punti, in vendita.
extern int StopLoss = 1000 ; - questa opzione non funziona in questo EA.
extern int Slippage = 50; - spostamento del prezzo.
//
extern int TrallingStop = 100; - distanza dal prezzo di apertura dell'ordine.
extern int TrallingStep = 150; - distanza dal prezzo corrente.
int timeprev;
//
extern int StepB = 250; - distanza in punti per emettere una rete di ordini di acquisto.
extern int StepS = 250; - distanza in punti per l'emissione di una rete di ordini di vendita.
extern int StepBstop = 500; - distanza in punti per emettere una rete di ordini di acquisto.
extern int StepSstop = 400; - distanza in punti per l'emissione di una rete di ordini di vendita.
extern int StepBlimit = 300; - distanza in punti per l'emissione di una rete di ordini di acquisto.
extern int StepSlimit = 500; - distanza in punti per l'emissione di una rete di ordini di vendita.
extern int StepBlimit2 = 300; - distanza in punti per l'emissione di una rete di ordini di acquisto.
extern int StepSlimit2 = 400; - distanza in punti per l'emissione di una rete di ordini di vendita.
extern Double Multiplier = 3; - aumenta il lotto quando in una o un'altra catena di ordini diventa più di uno.
Questi parametri sono ancora in fase di sviluppo...
extern double Depo=10000.0;
extern double Persent=30;
extern string Quantity="MyAreExpectingTrendDouble";