[amibroker] Values for Shape Constants...

 

Hello,

 

Going thru the user manual, I was wondering if anyone knows what the numeric values are for the Shape Constants below

:

shapeNone, shapeUpArrow, shapeDownArrow, shapeHollowUpArrow,

shapeHollowDownArrow, shapeSmallUpTriangle, shapeSmallDownTriangle,

shapeHollowSmallUpTriangle, shapeHollowSmallDownTriangle, shapeUpTriangle,

shapeDownTriangle, shapeHollowUpTriangle, shapeHollowDownTriangle,

shapeSmallSquare, shapeHollowSmallSquare, shapeSquare, shapeHollowSquare,

shapeSmallCircle, shapeHollowSmallCircle, shapeCircle, shapeHollowCircle, shapeStar etc…

 

 

from the manual “Odd values plot shape BELOW indicator, even values plot shape ABOVE indicator”

 

You can position your arrows relative to High/Low too. See the code below for the example:

Buy=Cross(MACD(), Signal());

Sell=Cross(Signal(), MACD());

shape = Buy * shapeUpArrow + Sell * shapeDownArrow;

Plot( Close, "Price", colorBlack, styleCandle );

PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, Low, High ) );

GraphXSpace = 5;

 

 

Thanks,

NK

__._,_.___

Posted by: Nurudin Kaba <nurudin.kaba@outlook.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

Upgrade your account with the latest Yahoo Mail app
Get organized with the fast and easy-to-use Yahoo Mail app. Upgrade today!

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


.

__,_._,___


EmoticonEmoticon