Announcement

Collapse
No announcement yet.

Paint Bar Study Trade Station

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Paint Bar Study Trade Station

    For anyoone who knows TradeStation programming:

    How do I write a paint bar study on Trade Station chart when the high of the last price bar is greater than the moving average by a certain percentage? At a certain point or percentage, I'd like the bar to turn a certain color.

    For example, the moving average is at 845 and the high of the last price bar is 853.

    I am using TradeStation2Ki.


    Thank you,

    JohnO
    John D. F. Oakes

  • #2
    Hello John,

    I can't help you with the TS formula, but if you care to try eSignal, here is an EFS formula that will do what you need. The following input parameters can be edited through the "Edit Studies" option.

    Input Parameter Defaults

    nLength: 20
    nOffset: 0
    PriceSource: Close
    nPoints: 1

    Attached Files
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment

    Working...
    X