Dimka-novitsek: I put the slip in general for controllability, so that, for example, you can remove the platform or the chart, and then absolutely no reaction.
First, you should describe approximately what you want to do.
Try it that way:
#property indicator_separate_window#property indicator_buffers 1#property indicator_color1 Reddouble Buffer1[];
int init()
{
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0,Buffer1);
SetIndexEmptyValue(0,0.0);
return(0);
}
int start()
{
for(int i = 1; i < 300; i++)
Buffer1[i] = Close[i]/iClose("GBPUSD", Period(), i);
return(0);
}
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I put the slip in general for controllability, so that, for example, you can remove the platform or the chart, and then absolutely no reaction.
First, you should describe approximately what you want to do.
Try it that way:
Thank you! I'll give it a try.
You should at least describe roughly what you want to do first.
The thing is, it does not draw anything at all!
I wanted to see how the euro and the pound change each other, if there are any patterns.
That's where I put 'Green':
It does draw green, but only at the candle before it closes! Before that it never does.
Good afternoon.Please help.
How do I find a pattern of bar shifts calculated using this formula? ObjectGetShiftByValue
Dimka-novitsek:
[picture]