This alert is triggered on the first cross of the Close price over the SMA with the length equal to 15. This parameter accepts Sound constants as value.Įxample 1 Alert(Crosses(close, Average(close, 15), CrossingDirection.ABOVE), "Closing price crosses over SMA!") This parameter accepts Alert constants as value.ĭefines the alert sound. Input parametersĭefines condition upon which the alert is displayed.ĭefines periodicity with which the alert is shown. Note that you can create studies containing only alert function call without defining any plots. Shows an alert message with the text and plays the sound when the condition is true. Default values: sound: Sound.NoSound Description
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |