Convert ToS code to Sierra - Sierra Chart | futures io social day trading
futures io futures trading

Convert ToS code to Sierra
Updated: Views / Replies:529 / 0
Created: by rmiller863 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

Convert ToS code to Sierra

  #1 (permalink)
Elite Member
Lake wales FL/ USA
Futures Experience: Intermediate
Platform: TOS ,Tradestation, Sierra
Favorite Futures: Futures
Posts: 32 since Jul 2013
Thanks: 7 given, 2 received

Convert ToS code to Sierra

I'd like to get a ToS code converted to Sierra charts?

#Hint AlertsOn: Plot the arrows \nDefault = Yes
#Hint ShowTodayOnly: Plot only today's arrows\nDefault = Yes
#Hint ShowExtraDays: Add extra days to ShowTodayOnly \nDefault = 0
#Hint ShowMA_Curves:Show or Hide the MA plot \nDefault = Yes
#Hint BlenderKing_Short: Length of Short MA \nDefault = 4;
#Hint BlenderKing_Long: Length of Long MA \nDefault = 7

input ArrowsOn = yes;
input TracerLinesOn = no;
input PriceColorOn = Yes;

input ShowTodayOnly = no;
input ShowExtraDays = 0;
def Today =
if !ShowTodayOnly then 1 else
if GetDay() + ShowExtraDays >= GetLastDay() && GetYear() == GetLastYear() then 1 else 0;
input ArrowSpace = .233;
def space = Average(high - low) * ArrowSpace;

#Input AlertsOn = no;
def BuyIt = PPS().buysignal;
def SellIt = PPS().sellsignal;

plot ppsBuy = if !Today or !ArrowsOn then Double.NaN else BuyIt - space;
Alert(ppsBuy, “PPS Buy Signal”, Alert.BAR, Sound.Ring);

plot ppsSell = if !Today or !ArrowsOn then Double.NaN else SellIt + space;
Alert(ppsSell, “PPS Sell Signal”, Alert.BAR, Sound.Ring);

rec PriceAtBuy = if barNumber() == 1 then close else if !IsNaN(BuyIt[0]) then open[0] else PriceAtBuy[1];
rec PriceAtSell = if barNumber() == 1 then close else if !IsNaN(SellIt[0]) then open[0] else PriceAtSell[1];

rec trigger = if PriceAtBuy <> PriceAtBuy[1] then -1 else if PriceAtSell <> PriceAtSell[1] then 1 else trigger[1];
plot BuyPrice = if TracerLinesOn && trigger == -1 then PriceAtBuy else Double.NaN;
plot SellPrice = if TracerLinesOn && trigger == 1 then PriceAtSell else Double.NaN;

AssignPriceColor(if !PriceColorOn then Color.CURRENT else if trigger == 1 then else Color.GREEN);
# BlenderKing_R1R3

# Revision history:
# Rev Date Change Description
# ---- ---------- ------------------
# R1V1 2010.03.30 - KumoBob
# R1V2 2010.04.21 - KumoBob
# Made Arrows dependant upon SMA_4 direction
# R1V3 2010.11.17:21:43 - KumoBob
# Made Revision history compliant with current standard
# Removed signals
# Thanks to BlenderKing for sharing this formula with me!
# ____________________ BlenderKing _______________________;

declare upper;
input ShowMA_Curves = Yes;
input BlenderKing_Short = 4;
input BlenderKing_Long = 7;

def SMA_4 = Average(data = hlc3, length = BlenderKing_Short);
plot SMA_4plot = if Today && ShowMA_Curves then SMA_4 else Double.NaN;
def SMA_7 = Average(data = close, length = BlenderKing_Long);
plot SMA_7plot = if Today && ShowMA_Curves then SMA_7 else Double.NaN;

AddCloud(SMA_4plot, SMA_7plot);
plot Data = close;

Reply With Quote


futures io > > > > Convert ToS code to Sierra

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
Convert TradeStation XAverage function to Sierra code Renko123 Sierra Chart 15 April 5th, 2015 03:32 PM
Code TRX Channel for TOS (MT4 Code here) rommark ThinkOrSwim Programming 0 October 1st, 2014 03:55 PM
looking for someone to convert the PBFSqueeze indicator from NT to TOS Hguru ThinkOrSwim 0 May 3rd, 2013 06:35 PM
Code TOS Vervoort Crossover for Sierra platform trendfriendpa Sierra Chart 6 April 11th, 2013 10:07 AM
Can anyone convert a code from TOS j8fire ThinkOrSwim 8 July 18th, 2012 08:24 PM

All times are GMT -4. The time now is 10:11 AM.

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-22 in 0.08 seconds with 21 queries on phoenix via your IP