Coding help - page 587

 

Hi,mntiwna... which indicator you are speaking about , is it braintrend 2sig alerts......if yes its 100% non repaint .....

 
shiva12:
Hi,mntiwna... which indicator you are speaking about , is it braintrend 2sig alerts......if yes its 100% non repaint .....

ok,carry on jatta.

Files:
1_14.png  90 kb
 

Dear All,

Do you have any availabe Function that could be integrated in an expert advisor and that retrieve the r-Squared values ( multi time frame ).

Thanks in advance.

Andrea

 

Dear mntiwana, but i am sure its non re painter , because i have seen it , and traded on it, but its not at all reapinter....may be in mtf it will becaue it will take future values

 

Mladen, please how do I code in MT4 Expert Advisor? For example for this scenario, if buy is opened on a candle and stop loss is triggered on the same candle, do not open another trade on that candle. Thanks.

 
funayot:
Mladen, please how do I code in MT4 Expert Advisor? For example for this scenario, if buy is opened on a candle and stop loss is triggered on the same candle, do not open another trade on that candle. Thanks.

funayot

A good stating point can be this thread : https://www.mql5.com/en/forum/173136

 
mladen:

funayot

A good stating point can be this thread : https://www.mql5.com/en/forum/173136

Thank you, I will let you know how it goes.

 
mladen:

funayot

A good stating point can be this thread : https://www.mql5.com/en/forum/173136

Mladen, I have checked the thread, but it doesn't answer my question. I have attached a picture to make it clearer. My question is, how do I code, if a sell order and stop loss are triggered on the same candle, do not open another trade, instead, wait for new entry setup, but not on that candle.

Files:
onecandle.jpg  31 kb
 

Mladenwill help?what to fixin the code?you needto havesignalsonlyon new bar opening,noton theformingbar.you need to showsignalsthatappear onthe first tickof barzero.Sorry forEnglish,I usetranslator.If you takethe answer,Iwill send the codein a personal message.

 
Vlad5624:
Mladenwill help?what to fixin the code?you needto havesignalsonlyon new bar opening,noton theformingbar.you need to showsignalsthatappear onthe first tickof barzero.Sorry forEnglish,I usetranslator.If you takethe answer,Iwill send the codein a personal message.

Vlad5624,

Thanks for your contribution. My strategy requires opening the first trade as the current candle touches bollinger band (upper or lower band). I just don't want to open another trade on the bar if stop loss is also hit on the bar. Can you please send the sample code?

Reason: