Re: Coding Help

241
Dear Mladen,
Thank you for your reply and confirmation .... Now we face following ... In order to make it "work" we have placed the iCustom(NULL,0,"ptl 2_2",0,i); without possibility to change parameters. By doing what you suggested it also works, but the results are different ....... ?????
Waiting for your comments and instructions ....
Best Regards
Dimitri


Re: Coding Help

242
Dimitri wrote: Sun May 07, 2017 12:12 am Dear Mladen,
Thank you for your reply and confirmation .... Now we face following ... In order to make it "work" we have placed the iCustom(NULL,0,"ptl 2_2",0,i); without possibility to change parameters. By doing what you suggested it also works, but the results are different ....... ?????
Waiting for your comments and instructions ....
Best Regards
Dimitri
Dimitri

If you want me to help please post the code that you are trying the use
I can not help based on a description of one line of the code. Nobody can


Re: Coding Help

247
Dear Mladen,
I am trying to get "+1" or "-1" ... Which can be Signals for
Long and Short accordingly ....
Using the iCustom without any parameter ... iCustom(NULL,0,"ptl 2_2",0,i); ... I get the result +1 & -1 as in picture ...
Using the iCustom as per your suggestion i get +1 ...
With the indicator received no line appears ....
Hope to have explain all details ...
Thank you so much ...
Best Regards
Dimitri

Re: Coding Help

248
Dimitri wrote: Sun May 07, 2017 1:06 am Dear Mladen,
I am trying to get "+1" or "-1" ... Which can be Signals for
Long and Short accordingly ....
Using the iCustom without any parameter ... iCustom(NULL,0,"ptl 2_2",0,i); ... I get the result +1 & -1 as in picture ...
Using the iCustom as per your suggestion i get +1 ...
With the indicator received no line appears ....
Hope to have explain all details ...
Thank you so much ...
Best Regards
Dimitri
Here is the code and the result I am getting
Please check it put

Re: Coding Help

249
Dear Mladen,
Now i get results of "+1", "0" and "-1" as presented in your attached picture.
Thank you so much any way ... i will ignore the "Zero" and invert receiving signals ... so the result will be the same ....
Thank you, Thank you as always ...
Best Personal Regards and Wishes
Dimitri

Re: Coding Help

250
Dimitri wrote: Sun May 07, 2017 1:25 am Dear Mladen,
Now i get results of "+1", "0" and "-1" as presented in your attached picture.
Thank you so much any way ... i will ignore the "Zero" and invert receiving signals ... so the result will be the same ....
Thank you, Thank you as always ...
Best Personal Regards and Wishes
Dimitri
Dimitri

Since that is the way how those values are stored in that buffer, using it that way will produce correct results. Or you can change the original indicator - but then you would have to change more things.


Who is online

Users browsing this forum: No registered users and 21 guests