♥ 0 |
Hello – I would like to set up an alert when the following condition is True: If % change between closing price of most recent 1 minute bar and the second most recent 1 minute bar (i.e., t versus t-1) exceeds +0.25% OR -0.25% (i.e., a relatively big price change over 1 minute closing prices) then alert me. This is what the TOS script I wrote for this alert looks like (running it over 1 minute aggregations): PercentChg(“length” = 1).”PercentChg” is greater than or equal to 0.25 or PercentChg(“length” = 1).”PercentChg” is less than -0.25 However, once the alert is triggered it becomes deactivated, while I would like it to remain active for an indefinite time period and trigger as many times as necessary. I’ve read that one needs to select the option Reverse Crossovers under the rules options, which I assume sets the condition to False once the True condition (original alert) is triggered. However, I do not want to be alerted when the False condition is met (i.e., for relatively small price changes) but only when the True condition is met (i.e., for relatively big price changes). I think one would need to select the option of Silent Opposite Alert but not sure if that will silent all alerts following the triggering of the first one as all subsequent alert are subject to be classified as Reverse Crossover? Any suggestions to achieve my objective would be greatly appreciated.
Marked as spam
|
Please log in to post questions.