Announcement

Collapse
No announcement yet.

drawShapeRelative()/drawShapeAbsolute()

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

  • drawShapeRelative()/drawShapeAbsolute()

    One it be possible to add a Shape Flag of Shape.PRESET? This would allow us to use the location flags as decribed in the drawText().

  • #2
    scjohn
    Shape.PRESET flag is already available albeit not yet documented in the Help file
    Alex

    PHP Code:
    function preMain() {
        
    setPriceStudy(true);
        
    setStudyTitle("SMA");
        
    setCursorLabelName("SMA",0);
    }

    function 
    main() {

        
    drawShape(Shape.CIRCLE,AboveBar2,Color.red,"1");
        
    drawShapeRelative(0,BelowBar3,Shape.CIRCLE,"",Color.yellow,Shape.PRESET)

        return 
    sma(10);

    Comment

    Working...
    X