NexusFi: Find Your Edge


Home Menu

 





ThinkScript Help - Alert if three specific conditions are met for DJI, DJT and DJU


Discussion in ThinkOrSwim

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




 
Search this Thread

ThinkScript Help - Alert if three specific conditions are met for DJI, DJT and DJU

  #1 (permalink)
twiggs462
Youngstown, OH USA
 
Posts: 1 since Jan 2018
Thanks Given: 0
Thanks Received: 0

I am completely new to ThinkorSwim but wanted to see if someone can help me get a starting point to start experimenting with my own study. I don't know how to program but can anyone share a script that can create and alert in Think or Swim if the following three conditions are met:

 
Code
    $DJI is down 2% from the most recent high (day, not intraday)
    $DJT is down 4% from the most recent high (day, not intraday)
    $DJU is down 8% from the most recent high (day, not intraday)
Conversely if the opposite is true - I assume only minor code adjustments are needed if the following is met as well for a new study:
 
Code
    $DJI is up 2% from the most recent low (day, not intraday)
    $DJT is up 4% from the most recent low (day, not intraday)
    $DJU is up 8% from the most recent low (day, not intraday)
Thanks for any help in advance.

Reply With Quote




Last Updated on January 9, 2018


© 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