Help need for support movingavg - ThinkOrSwim Programming | futures io social day trading
futures io futures trading

Help need for support movingavg
Updated: Views / Replies:400 / 2
Created: by joysync 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

Thread Tools Search this Thread

Help need for support movingavg

  #1 (permalink)
Elite Member
Toronto Canada
Futures Experience: Intermediate
Platform: thinkorswim, NT
Favorite Futures: Emini ES NQ
Posts: 4 since Nov 2014
Thanks: 9 given, 0 received

Help need for support movingavg

Hi ,
I am write a script for finding support moving average just below the Low value. But the simpleMovingavg(close,length) , it need "Length" must be constant.

Is there anybody have a way roundabout it?
below is code. thanks.

def Support = fold Ma=3 to 300 with found = double.nan while isnan(found) do
if between(Low, simpleMovingavg(close,Ma),simpleMovingavg(close,(Ma+1)) )
then Ma else double.nan;

Reply With Quote
  #2 (permalink)
Trading Apprentice
ottawa canada
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: es
Posts: 19 since Oct 2015
Thanks: 0 given, 1 received

As far as I know, the loop function is not very friendly in TOS.
Why don't you try SUM?

Reply With Quote
  #3 (permalink)
Elite Member
Tbilisi + Georgia
Futures Experience: None
Platform: ThinkScript,Tradestation
Favorite Futures: EUR/USD
Posts: 29 since Aug 2014
Thanks: 3 given, 12 received


in FOLD you shouldnt use the function/constant names, but use : GetValue(). I dont know if you will get solution, but at first make corrections...

so,instead of i.e. low[3], in fold, you should use GetValue(low,3)

however, what you are saying, i have no solution. maybe contact
and remember,always share you solutions on web
i.e. post here , or create your own

Reply With Quote


futures io > > > > > Help need for support movingavg

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Wyckoff Hunting for Great Risk/Reward Ratio w/Gary Fullett

Elite only

Digging into the Details of iSystems w/Stage 5 & iSystems

Jun 5

Similar Threads
Thread Thread Starter Forum Replies Last Post
Support Louis C.K. Big Mike Off-Topic 2 February 1st, 2015 11:36 AM
NT SUPPORT turkmay NinjaTrader 2 March 21st, 2014 12:10 PM
Support and Resistance SpyderTrader NinjaTrader Programming 11 May 13th, 2012 04:24 PM
Support and Resistance tony2009 Traders Hideout 13 July 8th, 2011 06:12 PM

All times are GMT -4. The time now is 07:45 PM.

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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 2018-05-27 in 0.07 seconds with 19 queries on phoenix via your IP