Resources insert indicator
-
hi,I am trying to insert my own indicator but I find errors, can someone help me? Thanks
photo 1 no error.
photo 2 code error


-
@skauch Do you mean a custom indicator on your EA's code? That is not necessary. Simply import the custom indicator on your fxDreema account and the platform will link it to your EA when required.
-
demo to put it on sale on mql5, but it does not pass the verification

-
@skauch youre trying to sell an EA that requires external indicator to work? If someone buys your EA but they dont have the same indicator, they cannot do anything. You see the problem?
-
@skauch extern indicator must be built in ea to sell in the market.
-
@miki yes
-
@roar the validation is not passed, I have to insert the indicator through code into resources
-
@skauch inserting the indicator in the EA code it is called as if it is a function and not an indicator itself.
https://www.mql5.com/en/articles/4602 -
error

-
@skauch parlare con te è come parlare ad un muro. Talking to you is like talking to a wall.
-
@miki ciao quindi? spiegati meglio non si puo'?
-
@skauch ciao certo che si può ma il codice dell'indicatore và inserito nell'ea e non solo richiamato come hai fatto tu. Ti avevo postato un link che ti spiega come fare,ma non è una cosa semplice.
-
@miki grazie infatti ci ho rinunciato, ma ho aggirato il problema mettendo dentro un'altra strategia, e inserito true e false per disabilitare quella dell'indicatore in modo che passi la convalida mql5,ed ha funzionato.
il problema ora vorrei usare le strategie assieme,perche una usa pending order con trailing stop e un'altra ordini normali, come posso fare perche funzionano bene assieme? cioe' quella con ordini normali non prendail trailing stop!!i gave it up, but I've been circling the problem by putting in another strategy, and inserting true and false to disable the indicator's one so that it passes the MQL5 validation, and it worked.
the problem now I'd like to use strategies together, why one uses pending order with trailing stop and another -
@skauch puoi usare i gruppi, 1 ad esempio per i pending e 2 per i normali , di conseguenza il trailing va impostato solo sul gruppo 1.
you can use groups, 1 for example for pending and 2 for normals, consequently the trailing must be set only on group 1.

-
@miki ho provato ma non funziona mi sembra di aver letto che col numero di gruppo cambi solo il magic number
I tried but it doesn't work I seem to have read that only the magic number changes with the group number -
@skauch said in Resources insert indicator:
@miki ho provato ma non funziona mi sembra di aver letto che col numero di gruppo cambi solo il magic number
I tried but it doesn't work I seem to have read that only the magic number changes with the group numberStrano che non funzioni, cambiando proprio il magic attraverso i gruppi e come se le operazioni fossero di 2 ea differenti.
Hai settato anche il trailing sull gruppo giusto?
Strange that it doesn't work, just by changing the magic through groups and as if the operations were of 2 different experts.
Did you also set the trailing on the right group? -
@miki
ho impostato cosi'
i set it up like this.

-
@skauch o devo metterlo solo sui ordini ?
-
@skauch giusto, ma anche nel blocco del trailing devi impostare gruppo 1
-
@miki si si messo