Alert triggered from multiple studies - ThinkOrSwim | futures io social day trading
futures io futures trading


Alert triggered from multiple studies
Updated: Views / Replies:6,894 / 2
Created: by tozwp 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
 

Alert triggered from multiple studies

  #1 (permalink)
Trading Apprentice
Milwaukee WI/US
 
Futures Experience: Intermediate
Platform: Multicharts, Tradestation
Favorite Futures: TF
 
Posts: 7 since Feb 2012
Thanks: 2 given, 1 received

Alert triggered from multiple studies

Relatively new to TOS and its scripting language and I have more experience with TS/MC/EasyLanguage. Have a question as to whether or not TOS is capable of generating an alert or highlighting a bar on a chart when a criteria is met. Basically looking to eyeball backtest an idea similar to a 'showme' study in TS. I have a chart with several indicators that are built on different symbols. The price chart is SPX or another major index and below that I have breadth indicators built with Advancing and Declining Issues, VIX and TRIN. On each of these indicators right now I have some simple moving averages plotted. Now for the tricky part. When I have the combination I am looking for from the several indicators in the subcharts, how to I fire off an alert or have the program highlight the bar where the combination is true? In TS this is easily done but I'm lost in TOS so far. Right now I would like to know if it is possible to do this. If it is, then I'll start looking into how much work it will be. I've seen some indications that it might not be possible and that is why I thought I'd ask here. Thanks!

Reply With Quote
 
  #2 (permalink)
Trading Apprentice
chicago il USA
 
Futures Experience: Intermediate
Platform: TOS
Favorite Futures: /ES
 
Posts: 19 since Apr 2012
Thanks: 9 given, 11 received

alert

there isnt a way i know of in TOS to have a script fire off an alert.....alerts have to manually be set up......
however you can have a ring or ding in the script to go off a pop in the upper right hand corner when certain criteria is met......sorry i am not a scripter .....however this may help.......i did not create this script......

this is a simple script combining 3 indicators into one I found online.....

#Name: ChrisStoplight
#Programmed By: Chris Ball (chris.m.ball@gmail.com) on 1/31/09
#Posted At:
#Description: This indicator is truly a representation of 3 indicators (RSI, DMI and the StochasticsMomentumIndex).

declare lower;
Input rsi = 50 ;
Input DMI = 14 ;

plot rsi1 = if RSIWilder(length = 14)."RSI" >= rsi then 10 else 9;
plot rsi2 = if RSIWilder(length = 14)."RSI" < rsi then 10 else 9;

AddCloud(rsi1, rsi2);

plot dmi1 = if DMI()."DI+" >= DMI()."DI-" then 8 else 7;
plot dmi2 = if DMI()."DI+" < DMI()."DI-" then 8 else 7;

AddCloud(dmi1, dmi2);

plot sto1 = if StochasticMomentumIndex()."SMI" >= StochasticMomentumIndex()."AvgSMI" then 6 else 5;
plot sto2 = if StochasticMomentumIndex()."SMI" < StochasticMomentumIndex()."AvgSMI" then 6 else 5;

AddCloud(sto1, sto2);

rsi1.setDefaultColor(Color.Gray);
rsi2.setDefaultColor(Color.Gray);
dmi1.setDefaultColor(Color.Gray);
dmi2.setDefaultColor(Color.Gray);
sto1.setDefaultColor(Color.Gray);
sto2.setDefaultColor(Color.Gray);

# an example of the code for the alert below........simple rsi alert

def SELL =rsi crosses above 70 ;
def BUY = rsi crosses below 30 ;

alert(SELL, "SELL", Alert.BAR, Sound.Ding);
alert(BUY, "BUY", Alert.BAR, Sound.Ring);

Reply With Quote
The following user says Thank You to Gisfor for this post:
 
  #3 (permalink)
Trading Apprentice
chicago il USA
 
Futures Experience: Intermediate
Platform: TOS
Favorite Futures: /ES
 
Posts: 19 since Apr 2012
Thanks: 9 given, 11 received

alert


also forgot to mention......and I am NOT trying to take you away from this site....just trying to help u find an answer......
I also go to the TOS chatroom ......."thinkscript lounge" and many people have helped me with stuff about scripting......

Reply With Quote
The following user says Thank You to Gisfor for this post:

Reply



futures io > > > > Alert triggered from multiple studies

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
Volume Breakdown and Bid/Ask Difference studies lolu Sierra Chart Programming 82 August 6th, 2015 03:26 AM
ThinkScript studies c0ol2 ThinkOrSwim 5 April 8th, 2014 01:50 PM
Plotting studies on studies revbones ThinkOrSwim 1 March 12th, 2012 03:04 AM
MC / TS : Using Subcharts in studies NW27 EasyLanguage Programming 15 January 7th, 2011 12:41 AM
Question about Bid/Ask studies and Delta neko333 The Elite Circle 4 September 23rd, 2010 03:06 PM


All times are GMT -4. The time now is 01:14 PM.

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-14 in 0.09 seconds with 19 queries on phoenix via your IP 54.234.255.29