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 sjsj2732, Yesterday, 04:31 AM
      0 responses
      32 views
      0 likes
      Last Post sjsj2732  
      Started by NullPointStrategies, 03-13-2026, 05:17 AM
      0 responses
      286 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      283 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      133 views
      1 like
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      91 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Working...
      X