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


John Carter's close below 21 day high
Updated: Views / Replies:866 / 4
Created: by Beamsplitter Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

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: 3 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: 3 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
 
  #5 (permalink)
Trading Apprentice
Fayetteville,Arkansas
 
Futures Experience: Beginner
Platform: Thinkorswim,Supercharts
Favorite Futures: GC,CL
 
Posts: 3 since Jul 2016
Thanks: 5 given, 0 received

John Carter 21 day hi/low solution

low 21
declare upper;

def loday = lowest(low, 21 );



plot sigday = if( loday[1] == low[1] and close > high[1] ) or ( loday[2] == low[2] and close > high[2] ) or ( loday[3] == low[3] and close > high[3] ) or ( loday[4] == low[4] and close > high[4] ) then yes else Double.nan;
##

sigday.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);


sigday.SetDefaultColor(Color.GREEN);

****************************************************************************************
Hi 21


declare upper;
#input displace = 0;
def hiday = Highest(high, 21 );


#plot sigday = ( hiday[1] and close < low[1]) or ( hiday[2] and close < low[2]) ;
plot sigday = if( hiday[1] == high[1] and close < low[1] ) or ( hiday[2] == high[2] and close < low[2] ) or ( hiday[3] == high[3] and close < low[3] ) or ( hiday[4] == high[4] and close < low[4] ) then yes else Double.nan;
##

sigday.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);


sigday.SetDefaultColor(Color.GREEN);

This is the best I could do.

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)
 

RandBots: AutoTrading Bots to diversify your trading

Oct 24
 

TopstepTrader: Profiting Without Risking Your Own Money

Oct 26

Building Open Source Indicators for NT8 w/Fat Tails @ Lizard Indicators

Elite only
     

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


All times are GMT -4. The time now is 08:20 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-10-21 in 0.05 seconds with 18 queries on phoenix via your IP 54.157.81.13