Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
[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
Can you help answer these questions from other members on NexusFi?
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) ,
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);
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
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
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!