Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Retrieve Pip Value for current chart

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

    Retrieve Pip Value for current chart

    I'm trying to write an indicator that will track two EMAs, and produce seperation indications at various points. I want to be able to have it self-sufficient enough to where I can plug in any curriencies and it will function correctly based on >8 pips. But the pips change from chart to chart. In some cases it's .10, or .0005 or whatever the case may be.

    Since the pips can change from set to set, how to I find out what the pip value is for the current data series? Is there a property I can get that will tell me that, or do I have to calculate it somehow?

    EDIT: Hm...it appears that a tick = a pip? So I can use the TickSize property. Is this correct?
    Last edited by RockyH; 01-11-2009, 07:16 AM.

    #2
    Yes it is correct Rocky. If you are in doubt, put a Print("TickSize: " + TickSize) statement into your code to be sure.

    Regard
    Ralph

    Comment


      #3
      Indicator Done

      Great thanks for that. I got the indicator working well now. It works for any chart and any tick/pip values it's on. If you're interested you can download it for import here: http://www.g-wizinnovations.com/products/products.aspx

      Feedback is appreciated.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      571 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      330 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      548 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      548 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X