Jump to content
Medved Trader Forums

Incorrect Level 1 values


Kasper

Recommended Posts

The calculation is slightly different with each data feed, but that's due to it's feed's speed.

Here's actual example with IB:

Symbol    AAPL  Last    136.50 Low  133.73    High 137.65        Rng    3.92    Rng % 70.66326531

I calculated below for same data feed.

SetScanResultColumnName(0,"Range%");
SetScanResult(0,((SymbolData.High - SymbolData.Low) * 100 / SymbolData.Last));


Range%    2.871795

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...