NexusFi: Find Your Edge


Home Menu

 





Help with Alert


Discussion in ThinkOrSwim

Updated
    1. trending_up 797 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 0 posts
    2. attach_file 0 attachments




 
Search this Thread

Help with Alert

  #1 (permalink)
 Keystone 
Dallas Texas
 
Experience: Advanced
Platform: Tradestation
Trading: Emini ES, Emini YM
Posts: 12 since Sep 2013
Thanks Given: 0
Thanks Received: 5

I have a strategy that is using an aggregation period of 5 minutes. It is applied to a 1 minute chart.

I would like to have an alert once when there is a signal for the 5 minute aggregation.

The alert is set to signal once per bar when the signal is true and false 1 bar ago.

I get an alert on every 1 minute bar until the close of the aggregation period of the 5 minutes.

def buy = if conditionLONGAccels then yes else no;

alert(Buy and Buy[1] is false , "Long", alert.bar, sound.chimes);

Any help would be appreciated.

Started this thread Reply With Quote




Last Updated on January 7, 2020


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts