Page 25 of 180
Re: Coding Help
Posted: Sun May 07, 2017 12:12 am
by Dimitri
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
Posted: Sun May 07, 2017 12:15 am
by mladen
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
Posted: Sun May 07, 2017 12:28 am
by Dimitri
mladen wrote: Sun May 07, 2017 12:15 am
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
Dear Mladen,
Please find attached code, Thank you again ...
Re: Coding Help
Posted: Sun May 07, 2017 12:37 am
by mladen
Dimitri wrote: Sun May 07, 2017 12:28 am
Dear Mladen,
Please find attached code, Thank you again ...
Try the attached
Re: Coding Help
Posted: Sun May 07, 2017 12:52 am
by Dimitri
Dear Mladen,
Thank you so much ... but No Results .... ???
I am attaching a picture with all results ....
Best Regards
Dimitri
Re: Coding Help
Posted: Sun May 07, 2017 12:57 am
by mladen
Dimitri wrote: Sun May 07, 2017 12:52 am
Dear Mladen,
Thank you so much ... but No Results .... ???
I am attaching a picture with all results ....
Best Regards
Dimitri
Dimitri
Please explain in plain words what exactly are you trying to get from the code
Re: Coding Help
Posted: Sun May 07, 2017 1:06 am
by Dimitri
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
Posted: Sun May 07, 2017 1:10 am
by mladen
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
Posted: Sun May 07, 2017 1:25 am
by Dimitri
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
Posted: Mon May 08, 2017 11:02 pm
by mladen
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.