Reply

How to move signal arrows closer to price bar?

1 replies

marelliea

Subscriber, bbp_participant, community, 6 replies.

Visit profile

10 years ago #112012

hi Support or anyone else that can help,

 

in the signal indy fisher__1 i have uploaded please can some kind sole supply a code

snippet to allow me to move the direction change arrows closer to the price bars.

 

i prefer the direction change to be right next to the top/bottom of the price bars.

i want to move the arrows closer but nothing i try seems to make any difference.

 

many thanks in advance if anyone can help with a code snippet.

 

cheers

 

m 🙂

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

10 years ago #123914

Hello,

 

I assume you are talking about Signal Indicator, right?

It can be customized by editing the EA code.

 

The distance of the point from candle is controlled by atrOffset. You can look at your code for atrOffset, it is computed like:

atrOffset = 0.5 * iATR(NULL, 0, 10, 1);

 

If you’ll change it for example to

atrOffset = 0.1 * iATR(NULL, 0, 10, 1);

 
then the signal points will be closer to candles.
 
 
If you are talking about Draw Up Arrow/Draw Down Arrow actions then these can be edited in functions 
void sqDrawUpArrow(int shift) 
void sqDrawDownArrow(int shift) 
 
YOu can control the distance by changing the values 
-20*Point
or 
+140*Point

Mark
StrategyQuant architect

0

Viewing 1 replies (of 1 total)