[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 231

 
Sergeev...
 

Couldn't it be simpler)))?

 
doon:

Couldn't it be simpler)))?

You can. But you have to read a lot of books. can you handle it?
 
sergeev:
You can. But it's a lot of words to read. Can you handle it?

Oh, you should be in the annals, in the annals. Although... I was in the mood for this post...)
 
klyuchnikk:


Can anyone help. ZeroLag MACD indicator. Need to make the background above the 0.00 line one colour and below it another.

As an option - draw a rectangle of one colour above the line and of another colour below it. And programmatically change the coordinates of the rectangle at each new candlestick.
 
Roman.:


"Everything has already been stolen before you", as well as "your horses are quietly galloping"... :-)))

See here.


Yeah, that's right.
 

Folks, you need the order to open on the close of the candle on the exit from the channel....a opens, on the crossing...where is the error...

double bup=iBands(Symbol(),0,BPeriod,Deviation,0,PRICE_OPEN,MODE_UPPER,0);
   double bdn=iBands(Symbol(),0,BPeriod,Deviation,0,PRICE_OPEN,MODE_LOWER,0);
   
   if(Close[1]>bup+(BDistance*Point)) SELLme=true;
   if(Close[1]<bdn-(BDistance*Point))  BUYme=true;
 
Vovo4ka:

People, you need the order to open on the close of the candle on the exit from the channel....a opens, on the crossing...where is the error...


Well you take the indicator readings from the zero candle, and you take the price from the first candle. Then you should also request the indicator readings from the first candle.

double bup=iBands(Symbol(),0,BPeriod,Deviation,0,PRICE_OPEN,MODE_UPPER,1);
 
drknn:

Oooh, you should be in the annals, in the annals :) ... Although... The mood has been lifted to a peak with these posts :)

That guy's been there for a long time... :-)))
 
sergeev:

you must be using an old build of the terminal.

In the 388 build this variable should already compile normally. Update your version of the terminal.

You're burning... :)))))))))))))))))))))))))