PureBytes Links
Trading Reference Links
|
Hello,
Look at the numeric values. shapePositionAbove equals 1 so it just selects next shape.
Only shape constants starting from shapeSmallSquare are all even numbers, that's why you can add one to get "above"
This does not apply to all preceding shape constants, so
ShapePositionAbove must NOT be used together with shapes that have positions already
included (all those which have "Down" or "Up" in the name).
All "Down" shapes are positioned ABOVE already and "Up" shapes are positioned BELOW already,
so it makes no sense to add those two.
So you may only use ShapePosition above to the following shapes:
shapeSmallSquare, shapeHollowSmallSquare, shapeSquare, shapeHollowSquare, shapeSmallCircle, shapeHollowSmallCircle, shapeCircle,
shapeHollowCircle, shapeStar, shapeHollowStar, shapeDigit0, shapeDigit1, shapeDigit2, shapeDigit3, shapeDigit4, shapeDigit5,
shapeDigit6, shapeDigit7, shapeDigit8, shapeDigit9, shapePositionAbove
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "giggollo99" <giggollo@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, June 07, 2006 9:44 PM
Subject: [amibroker] shapeHollowdownTriangle+shapePositionAbove gives square??
> PlotShapes(
> iif(sell,shapeHollowdownTriangle+shapePositionAbove ,Shapenone) ,
> colorred , 0, graph0, 65);
>
> Why does this line give me a red square instead of a downtriangle??
> Can anyone confirm if this happens to them too?
>
>
>
>
>
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
|