barabashkakvn: All calculations are done in OnCalculate (i.e. a new bar event is defined here)
Thank you, I'll have a look. Maybe I do not understand something, but it seems that in Five it is not possible to specify the buffer index for getting the value of custom indicator.
forexman77: Thanks, I'll have a look. Maybe I don't understand something, but it seems that there is no possibility to specify the buffer index to get the value of custom indicator.
iCustom gives the handle of the custom indicator. Then CopyBuffer, in which the second parameter is the buffer number.
forexman77: The following procedure will be used: iCustom gives you the handle of the custom indicator. Then you CopyBuffer, in which the second parameter is the buffer number.
Tell me, is it possible to get the value of an indicator in the script?
I tried it this way:
I get the value on any indicator 10.
Tried another way (error 4807 comes out):
1.Read the iCustom help.
2. To get indicator buffer value: get indicator handle, then copy the required indicator buffer using CopyBuffer.
2. Order of obtaining indicator buffer value: obtain indicator handle, and then use CopyBuffer to copy the required indicator buffer by this handle.
I understand, I will study it. I asked about the script because it doesn't have "OnInit" and it gets the handle. So the script asks for the handle before "OnStart"?
forexman77: I see, I'll look into it. I asked about the script because it doesn't have "OnInit" and it gets the handle. Does this mean that the script requests the handle before "OnStart"?
Fleder: Products in the Market have between 5 and 20 activations (at the discretion of the retailer). If you haven't used up your activation attempts, don't worry, they won't charge you extra money.
Thanks for the reply, I will press the button to buy. There is no other :-)
All calculations are done in OnCalculate (i.e. a new bar event is defined here)
Thanks, I'll have a look. Maybe I don't understand something, but it seems that there is no possibility to specify the buffer index to get the value of custom indicator.
iCustom gives the handle of the custom indicator. Then CopyBuffer, in which the second parameter is the buffer number.
Tell me, is it possible to get the value of an indicator in the script?
I tried it this way:
I get the value on any indicator 10.
I tried it this way too (the error 4807 comes out):
The following procedure will be used:
iCustom gives you the handle of the custom indicator. Then you CopyBuffer, in which the second parameter is the buffer number.
Tell me, is it possible to get the value of an indicator in the script?
I tried it this way:
I get the value on any indicator 10.
Tried another way (error 4807 comes out):
1.Read the iCustom help.
I see, I'll look into it. I asked about the script because it doesn't have "OnInit" and it gets the handle. Does this mean that the script requests the handle before "OnStart"?
OnInit is in experts and indicators.
It all worked out! Thank you!!!
Products in the Market have between 5 and 20 activations (at the discretion of the retailer). If you haven't used up your activation attempts, don't worry, they won't charge you extra money.