Announcement

Collapse
No announcement yet.

Shape.LEFT and Shape.RIGHT issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Shape.LEFT and Shape.RIGHT issue

    I'm using eSignal ver: 12.2 Update 1
    Ref: drawShapeRelative function

    Shape.LEFT plots on the right side of the candle (green dot in the picture)
    Shape.RIGHT plots on the left side of the candle (red dot in the picture)


    Click image for larger version

Name:	ShapePos.JPG
Views:	1
Size:	11.1 KB
ID:	247012

    Script follows:

    PHP Code:
    function preMain(){
        
    setPriceStudy(true);
    }
    function 
    main(){
        if(
    isLastBarOnChart()){
            
    drawShapeRelative(0low(), Shape.CIRCLE""Color.greenShape.LEFT"L");
            
    drawShapeRelative(0low(), Shape.CIRCLE""Color.redShape.RIGHT"R");
        }


    Seems to be a bug.

    Wayne
    Last edited by waynecd; 10-24-2015, 07:55 AM.

  • #2
    waynecd
    This is not a bug. Search the forum and you will find the explanation as the topic has been covered before (on shapes, text, etc)
    Alex


    Originally posted by waynecd View Post
    I'm using eSignal ver: 12.2 Update 1
    Ref: drawShapeRelative function

    Shape.LEFT plots on the right side of the candle (green dot in the picture)
    Shape.RIGHT plots on the left side of the candle (red dot in the picture)


    [ATTACH]16806[/ATTACH]

    Script follows:

    PHP Code:
    function preMain(){
        
    setPriceStudy(true);
    }
    function 
    main(){
        if(
    isLastBarOnChart()){
            
    drawShapeRelative(0low(), Shape.CIRCLE""Color.greenShape.LEFT"L");
            
    drawShapeRelative(0low(), Shape.CIRCLE""Color.redShape.RIGHT"R");
        }


    Seems to be a bug.

    Wayne

    Comment

    Working...
    X