[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 185

 
I put in the slip for controllability, for example, to be able to remove the platform or the chart, otherwise there is no reaction at all.
 
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 Red

double 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);
}
 

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.

 
I wanted to try making an indicator at all!
 
It works!!!!!!!Thank you!!!!!!! Beautiful!!!!!
 
 
eddy:
bool OrderModify(..., color arrow_color=CLR_NONE)
arrow_color - Colour of StopLoss and/or TakeProfit arrows on a chart.


That's where I put 'Green':

bool Ans_Mod = OrderModify(Ticket, Price, SL, TP, 0, Green);         

It does draw green, but only at the candle before it closes! Before that it never does.

 
Curious, what's wrong with my version?
 

Good afternoon.Please help.

How do I find a pattern of bar shifts calculated using this formula? ObjectGetShiftByValue

 

Dimka-novitsek:

[picture]

it's inconvenient to compare... you have to write a grid of vertical lines...