NexusFi: Find Your Edge


Home Menu

 





Study Alert for 3 ATR move up or down on 5min chart


Discussion in ThinkOrSwim

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




 
Search this Thread
  #1 (permalink)
jetsetting
Weston
 
Posts: 3 since Feb 2017
Thanks Given: 0
Thanks Received: 0

I am trying to create a Study Alert (so I get an SMS) based on a 3x move in ATR

So from TOS Marketwatch/Study Alert I create the following thinkscript for above 3 ATR

bid > ATR(Length=20,averageType="SIMPLE") * 3

I set this to Trigger if TRUE and create the silent crossover so it will alert above 3x and then reset when it goes below 3x. However on the Alert Book it always says the Current value of the alert is True so it triggers once at 930am and then never again (because it never crosses below)

It also isn't actually above 3x ATR on my chart. I've tried doing this with the KeltnerChannels UpperBand but couldn't get that to even save due to a Expected Double error.

Can anyone assist with this? I feel like maybe I'm making it more complicated than it needs to be.

Many thanks, Joe


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
CFTC Requests Tag 50 Trader Identity Data From CME and I …
Traders Hideout
Iran Fired a Missile at Israel Last Night. The $8M June …
Prediction Markets & Event Contracts
Six Days to Kickoff: World Cup Prediction Markets Hit $1 …
Prediction Markets & Event Contracts
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Trump Lands in Beijing on CPI Day: Iran Peace Expires To …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
Sober Journey With S&P
21 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 thanks
  #2 (permalink)
 choke35 
Germany
 
Experience: Intermediate
Platform: Other
Trading: ES, YM, 6E
Posts: 2,622 since Feb 2013
Thanks Given: 5,101
Thanks Received: 6,558


jetsetting View Post
I am trying to create a Study Alert (so I get an SMS) based on a 3x move in ATR

So from TOS Marketwatch/Study Alert I create the following thinkscript for above 3 ATR

bid > ATR(Length=20,averageType="SIMPLE") * 3

I set this to Trigger if TRUE and create the silent crossover so it will alert above 3x and then reset when it goes below 3x. However on the Alert Book it always says the Current value of the alert is True so it triggers once at 930am and then never again (because it never crosses below)

It also isn't actually above 3x ATR on my chart. I've tried doing this with the KeltnerChannels UpperBand but couldn't get that to even save due to a Expected Double error.

Can anyone assist with this? I feel like maybe I'm making it more complicated than it needs to be.

Many thanks, Joe

The reason is very simple: math.
You are comparing a price (bid) with a range (ATR(x)*3).


Reply With Quote
  #3 (permalink)
jetsetting
Weston
 
Posts: 3 since Feb 2017
Thanks Given: 0
Thanks Received: 0


Of course! That makes total sense. ATR might be 1.5 and bid is 40 so it will always be true.

I also tried

KeltnerChannels("factor" = 3.0)."Upper_Band" is true

or I've tried

bid > KeltnerChannels("factor" = 3.0)."Upper_Band"

but that doesn't seem to work either. Do you have any guidance on how to accomplish this?

Thanks, Joe


Reply With Quote




Last Updated on September 28, 2017


© 2026 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 - Downloads - Top
no new posts