FX Scan / Thinkscript - ThinkOrSwim Programming | futures io social day trading
futures io futures trading


FX Scan / Thinkscript
Updated: Views / Replies:897 / 3
Created: by atxrocks121 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
 

FX Scan / Thinkscript

  #1 (permalink)
Trading Apprentice
Austin Texas
 
Futures Experience: Intermediate
Platform: ThinkOrSwim
Favorite Futures: Forex
 
Posts: 5 since Jun 2015
Thanks: 1 given, 1 received

FX Scan / Thinkscript

Hi there...I have this scan in ToS that works well in scanning stocks and etfs. But when I apply it to FX, I get very strange results. My theory is that is has to do with the time length concept. This scan is pulling the high/low for the last 20 days and also using the close (for stocks & etf's). However, in FX there obviously is no close during the week and is ToS smart enough to be using the 20 days, or is the scan using the last 20 weeks?

If this theory is correct, how do I tell ToS to scan the last 24 hours (or whatever the appropriate FX item is)?

My scan:
def Upper = Highest(high, 20);
def Lower = Lowest(low, 20);
def UpperPrev = Upper[5];

def ma20 = MovingAverage(AverageType.EXPONENTIAL, close, 20);
def ma50 = MovingAverage(AverageType.EXPONENTIAL, close, 50);
def ma20Prev = ma20[5];
def PercentageMove = (((ma20 - ma20Prev) / ma20Prev) * 100);

def VF = ((Upper - Lower) / close) * 100;
def VFavg = MovingAverage(AverageType.EXPONENTIAL, VF, 20);

def c1 = ma20 >= ma50;
def c2 = PercentageMove >= 1 and PercentageMove <= 50;
def c3 = Upper >= UpperPrev;
def c5 = (((Close-ma50) / ma50) < 0.50);

plot signal = c1 and c2 and c3 and c5;

Reply With Quote
 
  #2 (permalink)
Trading Apprentice
Carthage Texas Usa
 
Futures Experience: Intermediate
Platform: etrade
Favorite Futures: options
 
Posts: 15 since Jun 2015
Thanks: 0 given, 2 received


atxrocks121 View Post
Hi there...I have this scan in ToS that works well in scanning stocks and etfs. But when I apply it to FX, I get very strange results. My theory is that is has to do with the time length concept. This scan is pulling the high/low for the last 20 days and also using the close (for stocks & etf's). However, in FX there obviously is no close during the week and is ToS smart enough to be using the 20 days, or is the scan using the last 20 weeks?

If this theory is correct, how do I tell ToS to scan the last 24 hours (or whatever the appropriate FX item is)?

My scan:
def Upper = Highest(high, 20);
def Lower = Lowest(low, 20);
def UpperPrev = Upper[5];

def ma20 = MovingAverage(AverageType.EXPONENTIAL, close, 20);
def ma50 = MovingAverage(AverageType.EXPONENTIAL, close, 50);
def ma20Prev = ma20[5];
def PercentageMove = (((ma20 - ma20Prev) / ma20Prev) * 100);

def VF = ((Upper - Lower) / close) * 100;
def VFavg = MovingAverage(AverageType.EXPONENTIAL, VF, 20);

def c1 = ma20 >= ma50;
def c2 = PercentageMove >= 1 and PercentageMove <= 50;
def c3 = Upper >= UpperPrev;
def c5 = (((Close-ma50) / ma50) < 0.50);

plot signal = c1 and c2 and c3 and c5;

You are correct with your assumption. You will need to use a secondary aggregation. If you need instructions let me know

Reply With Quote
 
  #3 (permalink)
Trading Apprentice
Austin Texas
 
Futures Experience: Intermediate
Platform: ThinkOrSwim
Favorite Futures: Forex
 
Posts: 5 since Jun 2015
Thanks: 1 given, 1 received


Hi Hayden,
Yes, I need help as I have yet to figure this out...feel free to PM me.

Reply With Quote
 
  #4 (permalink)
Elite Member
Vancouver, Canada
 
Futures Experience: Intermediate
Platform: Ninjatrader, Sierra Chart
Broker/Data: Ninjatrader Continuum
Favorite Futures: ES, ZB
 
Posts: 147 since Apr 2014
Thanks: 423 given, 109 received

Hi,

Did you ever figure out a way to scan currencies in TOS?

Reply With Quote

Reply



futures io > > > > > FX Scan / Thinkscript

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trading Spot FX vs. FX Futures with IB? Xyzzy Currency Futures 5 May 5th, 2016 04:13 AM
Need help with thinkscript scan. Saul ThinkOrSwim 7 August 29th, 2015 07:51 PM
thinkscript scan stocks. garyyang6 ThinkOrSwim 1 March 13th, 2014 07:06 AM
FX Futures vs Spot FX and Interactive Brokers Jester Reviews of Brokers and Data Feeds 13 December 31st, 2013 03:27 AM
Average Volume Scan / Scan Results TonyB ThinkOrSwim 5 March 23rd, 2013 03:20 PM


All times are GMT -4. The time now is 07:12 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-12-18 in 0.09 seconds with 19 queries on phoenix via your IP 54.163.209.109