John Carter's close below 21 day high - ThinkOrSwim Programming | futures.io
futures.io futures trading


John Carter's close below 21 day high
Started: by Beamsplitter Views / Replies:428 / 3
Last Reply: Attachments:0

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Reply
 
Thread Tools Search this Thread
 

John Carter's close below 21 day high

  #1 (permalink)
Trading Apprentice
Fayetteville,Arkansas
 
Futures Experience: Beginner
Platform: Thinkorswim,Supercharts
Favorite Futures: GC,CL
 
Posts: 2 since Jul 2016
Thanks: 5 given, 0 received

John Carter's close below 21 day high

Hello
Im new to the TOS platform and ThinkScript. I come over from Tradstation and Easylanguage.
I wonder if anyone can help me properly code this study.
Im trying to duplicate John Carters close below the 21 day high study.
The english for this would be to mark the bar that closes below the low of the highest high bar of the last 21 days.
Ive tried to find examples of simular studies to work off of to no avail.
Any help would be appreciated.
Thanks.
Here is what I tried to do so far.

declare upper;

def hiday = Highest(high, 21);

plot sigday = ( hiday[1] and close < low[1]) or ( hiday[2] and close < low[2]) ;

sigday.SetPaintingStrategy(PaintingStrategy.Boolean_ARROW_DOWN);

sigday.SetDefaultColor(Color.GREEN);

As written, the code produces arrows on days closing below
any higher day not just the 21 day high.

Thanks

Reply With Quote
 
  #2 (permalink)
Trading Apprentice
Fayetteville,Arkansas
 
Futures Experience: Beginner
Platform: Thinkorswim,Supercharts
Favorite Futures: GC,CL
 
Posts: 2 since Jul 2016
Thanks: 5 given, 0 received

Solution

I figured it out. Thanks for all your help and input.

Reply With Quote
 
  #3 (permalink)
Elite Member
Asheville, NC
 
Futures Experience: Advanced
Platform: TS, IB, NinjaTrader
Favorite Futures: Stocks
 
Posts: 3 since Nov 2014
Thanks: 0 given, 0 received

John Carter 21-day High


Hello, I purchased this indicator from John Carter, and it works great in both TradeStation and NinjaTrader; however, it will not give any signals in Bloodhound; any ideas? I'd like to pay someone to code it for me, unless it already exists somewhere for free! Thanks very much!

Reply With Quote
 
  #4 (permalink)
Trading Apprentice
Denver CP/USA
 
Futures Experience: Beginner
Platform: ToS
Favorite Futures: Stock
 
Posts: 2 since Apr 2016
Thanks: 0 given, 0 received

Can you share & post how you fixed your code?

Reply With Quote

Reply



futures.io > > > > > John Carter's close below 21 day high

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

Anthony Drager: Pulling the trigger with confidence

Elite only
 

Leo Murphy: The Art and Science of Technical Analysis

Elite only
 

FuturesTrader71: Ask Me Anything

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Day Lines - Open High Low Close .. naked podski NinjaTrader 3 January 2nd, 2015 05:16 PM
John Carter TTM Squeeze indicator? Joseph689 The Elite Circle 6 July 10th, 2013 01:51 AM
BC's 21 Day Green Trades Challenge abctrading Trading Journals 34 December 10th, 2011 05:23 PM
How to get into a runaway market - by John Carter TTM max-td The Elite Circle 1 May 6th, 2010 07:06 AM
Today Sept 21 - Day of Peace max-td Off-Topic 1 September 21st, 2009 12:21 PM


All times are GMT -4. The time now is 10:23 PM.

no new posts
Page generated 2017-01-22 in 0.08 seconds with 19 queries on phoenix via your IP 54.211.179.232