mnewton Posted April 20, 2022 Report Share Posted April 20, 2022 value stored in trendline alert is to 2 dec places. trendline is to 5 dec places would be good if they were both 5 dec places Quote Link to comment Share on other sites More sharing options...
Mike Medved Posted April 20, 2022 Report Share Posted April 20, 2022 The "value" that is shown is the price of the stock at the time of the alert (I am not sure why the 0.41 is there when the cross down is below that though). Was the value of the stock at the time the alert triggered NOT 2 dec places? Quote Link to comment Share on other sites More sharing options...
mnewton Posted April 20, 2022 Author Report Share Posted April 20, 2022 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 Quote Link to comment Share on other sites More sharing options...
Mike Medved Posted April 20, 2022 Report Share Posted April 20, 2022 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. Quote Link to comment Share on other sites More sharing options...
mnewton Posted April 20, 2022 Author Report Share Posted April 20, 2022 the trend line is at 5.0864 but the value in the filed from the api is 5.09 must be rounded to 2 dec should be 5.0864 Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted April 20, 2022 Report Share Posted April 20, 2022 the "value" is the price that triggered, not the trendline value. The price that triggered the alert was 5.09 Quote Link to comment Share on other sites More sharing options...
mnewton Posted April 21, 2022 Author Report Share Posted April 21, 2022 setup new trendline alert on RGBP at .0073766 stock at .0067 value in alert is 0.01 not sure what this is . trendline alert is at 0.0074 alert has not ben triggered yet its way above the price. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.