Directional AutoTrading - TradeStation | futures io social day trading
futures io futures trading


Directional AutoTrading
Updated: Views / Replies:176 / 1
Created: by AhmedF 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
 

Directional AutoTrading

  #1 (permalink)
Trading Apprentice
north bergen
 
Futures Experience: None
Platform: multicharts
Favorite Futures: Currency
 
Posts: 13 since Feb 2017
Thanks: 3 given, 1 received

Directional AutoTrading

I am having issues with writing a code that allows me to trade direction bias. To elaborate i want data2(larger size bars) to dictate the direction while Data1 ( smaller size bar) to dictate entry and exit. I wrote the code and it complies when i run the signal it trades both ways.

variables:
indicator ( 0) ,

var0( 0 ),
var1( 0 ),


data2var1(0),
VVSUP(false), //trending up
VVSDN(false);// trending DN



var1 = SwingIndex ;
indicator = iff (var1 <0 ,1,-1);
indicator = iff (var1 >0 ,1,-1);


//data2var1 = SwingIndex ;
data2var1 = iff (SwingIndex <0 ,1,-1);
data2var1 = iff (SwingIndex >0 ,1,-1);


if data2var1 > 0
then begin
VVSUP = true;
VVSDN = false;
end;
if data2var1 < 0
then begin
VVSUP = false;
VVSDN = true;
end;

if VVSUP then begin
if indicator crosses over 0 then buy next bar at market;
if marketposition = 1 and Indicator crosses under 0 then sell next bar at market;
end;

if VVSDN then begin
if Indicator crosses under 0 then sellshort next bar at market;
if marketposition =-1 and Indicator crosses over 0 then buytocover next bar at market;
end;

Reply With Quote
 
  #2 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,524 since Apr 2013
Thanks: 229 given, 852 received
Forum Reputation: Legendary

AhmedF,

as far as I can tell you don't reference Data2 in your code. Depending on what exactly you need, I would suggest looking into how to tie variables and functions to a datastream. For accessing reserved word values on other datastreams, this link should get you going: https://www.multicharts.com/trading-software/index.php/Data

Regards,

ABCTG

Reply With Quote

Reply



futures io > > > > Directional AutoTrading

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Directional Bias Super Trend devdas The Elite Circle 5 September 24th, 2015 04:08 PM
Looking for a Directional type strategy to.... mdsvtr Traders Hideout 3 May 3rd, 2015 08:29 PM
Directional Bias PandaWarrior Psychology and Money Management 58 January 18th, 2015 08:14 PM
Simple Directional Trading profitable? Big Mike Traders Hideout 29 November 24th, 2013 11:38 AM
Trading without Directional Bias liquidcci Psychology and Money Management 6 April 15th, 2013 06:28 PM


All times are GMT -4. The time now is 08:44 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-10 in 0.06 seconds with 18 queries on phoenix via your IP 54.83.122.227