Multicharts auto-trading - MultiCharts | futures io social day trading
futures io futures trading


Multicharts auto-trading
Updated: Views / Replies:1,199 / 7
Created: by manant974 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 100,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
 

Multicharts auto-trading

  #1 (permalink)
Trading Apprentice
france
 
Trading Experience: Beginner
Platform: multicharts
Broker/Data: avatrade
Favorite Futures: forex
 
manant974's Avatar
 
Posts: 5 since Sep 2015
Thanks: 2 given, 0 received

Multicharts auto-trading

[Hello]
Hello
I trade on MultiCharts and I used to buy and sell signals. However, I have problems I can not solve.
These problems concern the uses predefined variables like marketposition , MarketPositionAtBroker and MarketPosition_at_Broker_for_The_Strategy .
So when I make auto trading , I have long position, and no sell short positions . Or in simulated trading , I have both long and sell short positions .
I've tried to use separately arketposition , MarketPositionAtBroker and MarketPosition_at_Broker_for_The_Strategy but i don't have sell short position. I don't understand why
Thank you for your help
Best regard

Reply With Quote
 
  #2 (permalink)
Elite Member
Madrid Spain
 
Trading Experience: Master
Platform: Multicharts, Tradestation
Broker/Data: Tradestation, InteractiveBrokers
Favorite Futures: Stocks
 
martingjesus's Avatar
 
Posts: 15 since Sep 2015
Thanks: 10 given, 5 received

Hi, if you post a piece of the code I think I could help you, I use that functions.

Regards

Reply With Quote
The following user says Thank You to martingjesus for this post:
 
  #3 (permalink)
Trading Apprentice
france
 
Trading Experience: Beginner
Platform: multicharts
Broker/Data: avatrade
Favorite Futures: forex
 
manant974's Avatar
 
Posts: 5 since Sep 2015
Thanks: 2 given, 0 received

hello


Hello
I use the adaptative moving average by Kaufman for my trading strategy.


Here the code for this indicator

////////// Adaptative moving average ////////////////////////////////////
inputs:
PriceValue( numericseries ),
EffRatioLen( numericsimple ),
FastAvgLen( numericsimple ),
SlowAvgLen( numericsimple ) ;



variables:
var0( 0 ),
var1( 0 ),
var2( 0 ),
var3( 0 ),
var4( 2 / ( SlowAvgLen + 1 ) ),
var5( 2 / ( FastAvgLen + 1 ) ),
var6( var5 - var4 ) ;



if CurrentBar = 1 then
AdaptiveMovAvg = PriceValue
else
begin
var0 = AbsValue( PriceValue - PriceValue[ EffRatioLen ] ) ;
var1 = Summation( AbsValue( PriceValue - PriceValue[1] ), EffRatioLen ) ;
if var1 > 0 then
var2 = var0 / var1
else
var2 = 0 ;

var3 = Square( var4 + var2 * var6 ) ;
AdaptiveMovAvg = AdaptiveMovAvg[1] + var3 * ( PriceValue - AdaptiveMovAvg[1] ) ;
end ;
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

With this indicator, I use two signals, the first is used to open buy position and close buy position in the market , and the second for sell short position and close sell short position.
Here the code for buy and close buy signal

//////////////////////////////////////////////////////////////////// Buy and close buy position ///////////////////////////
inputs: PriceValue( Close), Length( 9), Period(20) ,

EffRatioLen( 8),
FastAvgLen(2),
SlowAvgLen( 30) , InitialCapital( 1000);


variables: Counter( 0 ),MP(1) ,
NetChg( 0 ),
indicateur(1.1111),TradeSize( 1000 ),
TotChg( 0 ),
EffRatio( 0 ),
ScaledSFSqr( 0 ),
SlowAvgSF( 2 / ( SlowAvgLen + 1 ) ),
FastAvgSF( 2 / ( FastAvgLen + 1 ) ),
SFDiff( FastAvgSF - SlowAvgSF ) ;

TradeSize=InitialCapital;
MP = MarketPosition_at_Broker;
indicateur=AdaptiveMovAvg(PriceValue,EffRatioLen,FastAvgLen, SlowAvgLen);

if MP = 0 and PriceValue<indicateur then

Buy ( "V" ) TradeSize contracts next bar at market ;

if MP >0 and PriceValue crosses OVER indicateur then
Sell ( "FV" ) TradeSize contracts next bar at market ;


Here the code for sell short and close sell short signal :


/////////////////////////////////////////////////////////// sell short and close sell short signal ////////////////////////
inputs: PriceValue( Close), Length( 9),Period(20),p(0) ,

EffRatioLen( 8),
FastAvgLen( 6), { this input assumed to be a constant >= 1 }
SlowAvgLen( 30) , InitialCapital( 1000);


variables: Counter( 0 ),MP(1) ,
NetChg( 0 ),
indicateur(1.1111),TradeSize( 1000 ),
TotChg( 0 ),
EffRatio( 0 ),
ScaledSFSqr( 0 ),
SlowAvgSF( 2 / ( SlowAvgLen + 1 ) ),
FastAvgSF( 2 / ( FastAvgLen + 1 ) ),
SFDiff( FastAvgSF - SlowAvgSF ) ;

TradeSize=InitialCapital;
MP = MarketPosition_at_Broker;
indicateur=AdaptiveMovAvg(PriceValue,EffRatioLen,FastAvgLen, SlowAvgLen);

if MP = 0 and PriceValue>indicateur then


Sell short ( "V" ) TradeSize contracts next bar at market ;



if MP <0 and PriceValue crosses UNDER indicateur then
Buy to cover ( "FV" ) TradeSize contracts next bar at market ;




When i do backtesting or forward testing, i have buy position and sell short position, for exemple 50 buy positions and 50 sell sell short position. But the problem is about atomated trading in multicharts. I only have a buy position, may be it's due to the market condition, but i used 1 min intraday bar to do trading , and in a week, no sell short position. I think it's due to my programming skill which low.
So i wish that you can help me !!!
Thank you for your response.
Best regards

Reply With Quote
 
  #4 (permalink)
Trading Apprentice
france
 
Trading Experience: Beginner
Platform: multicharts
Broker/Data: avatrade
Favorite Futures: forex
 
manant974's Avatar
 
Posts: 5 since Sep 2015
Thanks: 2 given, 0 received

hello

I forgot to say you that my automated trading is executed in synchronous mode in multicharts

Reply With Quote
 
  #5 (permalink)
Elite Member
Madrid Spain
 
Trading Experience: Master
Platform: Multicharts, Tradestation
Broker/Data: Tradestation, InteractiveBrokers
Favorite Futures: Stocks
 
martingjesus's Avatar
 
Posts: 15 since Sep 2015
Thanks: 10 given, 5 received

The code seems alright, I use marketposition_at_broker the same way as you.. Maybe you are trading some instrument with a short selling restriction?

Reply With Quote
The following user says Thank You to martingjesus for this post:
 
  #6 (permalink)
Trading Apprentice
france
 
Trading Experience: Beginner
Platform: multicharts
Broker/Data: avatrade
Favorite Futures: forex
 
manant974's Avatar
 
Posts: 5 since Sep 2015
Thanks: 2 given, 0 received

I trade on EUR/USD 1 MIN

Reply With Quote
 
  #7 (permalink)
Trading Apprentice
france
 
Trading Experience: Beginner
Platform: multicharts
Broker/Data: avatrade
Favorite Futures: forex
 
manant974's Avatar
 
Posts: 5 since Sep 2015
Thanks: 2 given, 0 received

I don't understand the difference between the results in backtesting, forward testing and the automated trading. I just have buy position in automated trading. It's so frustrating

Reply With Quote
 
  #8 (permalink)
Trading Apprentice
New York + US
 
Trading Experience: Intermediate
Platform: MultiCharts
Favorite Futures: Indian Stocks
 
Posts: 20 since Aug 2015
Thanks: 8 given, 1 received

Dollar Difference

Hello folks,

I need to know if anyone can use or program the dollar difference tool in Multicharts easylanguage.
means if we draw a trendline it gives the difference of the price...
Please help anyone is aware of it!

Reply With Quote

Reply



futures io > > > > Multicharts auto-trading

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Journal Challenge $1600 in Prizes & Free Journalytix for all participants!

February
 

Trading Resolutions for 2019 - Avoiding Mistakes w/GFF Brokers

Feb 19
 

3 Excellent Entries, and How To Automate Them w/Kevin Davey

Feb 21
 

The Driving Force Behind the Market w/Earn2Trade

Mar 5
 

TBA w/Stage5 & iSystems

Mar 12
 

TBA w/John Grady @ No BS Day Trading

Mar 19
 

Day Trading Oil Futures: Reducing Risk & Increasing Profits w/DTN IQFeed

Mar 26
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Breakout Trading (auto trading journal) Aufidius Elite Automated Trading 21 October 9th, 2015 07:43 PM
MultiCharts Webinar: Peter Campbell - Systematic Trading with MultiCharts MultiCharts MultiCharts 25 August 31st, 2015 09:32 PM
Auto Trading Best Practices pbailey19 Elite Automated NinjaTrader Trading 4 May 7th, 2014 10:53 PM
Multicharts Hybrid Auto Trade / Manual Trade Add-On a2trader Elite EasyLanguage Automated Trading 1 August 17th, 2013 10:10 AM
Multicharts auto trading moses MultiCharts 2 May 16th, 2013 04:30 PM


Tags
auto trading, automated trading, average, backtesting, broker, brokers, buy, code, easylanguage, forward testing, indicator, indicators, intraday, marketposition, marketposition_at_broker, moving average, multichart, multicharts, programming, short, short selling, signals, strategy, trading, trading strategy, trendline, trendlines

All times are GMT -4. The time now is 12:18 AM. (this page content is cached, log in for real-time version)

Copyright © 2019 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432 WhatsApp Business, 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 2019-02-17 in 0.25 seconds with 14 queries on phoenix