Jump to content
Medved Trader Forums

cross trendline up/down alert in api value set to 2 decimal places


Recommended Posts

The alert shows on the chart with 4 decs.

and also when looking at the trend info.

not sure why it would store the current stocks price tho'

If that's the case then i have to unpack the $ amount from the title/text

trend2.JPG

trend1.JPG

Link to comment
Share on other sites

The alert level shows with 4 decimals. BUT when the alert triggers the "value" that is passed to you in API is the price of the stock at the time the alert triggered.

Also - take a look at the new "Price Alerts" indicator. It shows the Price alerts that are set in the Alert system (not the trendline alerts, just the regular price alert system) on the chart. Since you are not using a slanted trendline for your alerts, maybe that's a simpler alternative.

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.

 Share

×
×
  • Create New...