Discussion of article "Library for easy and quick development of MetaTrader programs (part XXIII): Base trading class - verification of valid parameters" - page 4

 

Hello Artiom

I write to you not knowing how to go to admin. My problem is this: I havean indicator which is giving fine Signals but only when I refresh the TF in use. If I do Nothing the siganls are not good. But this Refreshing should be done automatically. Do you have an idea? or how can I find it in the codebase? There is Nothing for a search, lol.

Thank you very much

Wolf1210

 
wolf1210 :

Hello Artiom

I write to you not knowing how to go to admin. My problem is this: I havean indicator which is giving fine Signals but only when I refresh the TF in use. If I do Nothing the siganls are not good. But this Refreshing should be done automatically. Do you have an idea? or how can I find it in the codebase? There is Nothing for a search, lol.

Thank you very much

Wolf1210

An incorrect data calculation has been made in the indicator. I do not think that it will become better if done correctly - most likely, it will be redrawn.

 

Hi, what is the recommended way to get the price levels (entry, SL, TP) checked and, optionally corrected, by the library before submitting a pending order or opening a position? The first time I read through your article series, I had the impression that this was possible via CEngine interface but now can't find how (or misunderstood the first time). The only methods I see are in Ctrading and are not public either -- CTrading::CheckLevels(), CTrading::RequestErrorsCorrecting(), etc...

 
Dima Diall:

Hi, what is the recommended way to get the price levels (entry, SL, TP) checked and, optionally corrected, by the library before submitting a pending order or opening a position? The first time I read through your article series, I had the impression that this was possible via CEngine interface but now can't find how (or misunderstood the first time). The only methods I see are in Ctrading and are not public either -- CTrading::CheckLevels(), CTrading::RequestErrorsCorrecting(), etc...

Hi Artyom - can you clarify this for me, please?
 
Dima Diall :
Hi Artyom - can you clarify this for me, please?

Please, a little later - very busy for now.