NexusFi: Find Your Edge


Home Menu

 





Access to indicator from strategy in Multicharts.Net


Discussion in MultiCharts

Updated
    1. trending_up 2,382 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread

Access to indicator from strategy in Multicharts.Net

  #1 (permalink)
 fjgaspar 
Sevilla + Spain
 
Experience: Beginner
Platform: Multicharts
Trading: SP
Posts: 21 since May 2016
Thanks Given: 3
Thanks Received: 3

Hi,

I am trying to code an strategy in Multicharts.Net which needs information of the value of an indicator, and send orders based on that value. I have read that Multicharts.Net 9,1 allow access to indicators from within a strategy, but I haven't found how to do that.

So lets say I have an indicator called somevalue that takes different values based o prices, I want an strategy that put a buy order when the somevalue indicator has one value, for example, buy at somevalue value + 15. How can I accomplish that?

Thanks

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
26 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
23 thanks
My NQ Trading Journal
16 thanks
HumbleTraders next chapter
9 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

fjgaspar,

you'll find several approaches described here: https://www.multicharts.com/discussion/viewtopic.php?f=19&t=12593.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
Thanked by:
  #3 (permalink)
 fjgaspar 
Sevilla + Spain
 
Experience: Beginner
Platform: Multicharts
Trading: SP
Posts: 21 since May 2016
Thanks Given: 3
Thanks Received: 3


Thanks for the answer. It was supossed that version 9 of Multicharts would have a 'native' way to do that. The post you link, talks about complicated aproaches before this is 'natively' supported. As 9 version is what I have, my question is: does it have been implemented in version 9 or still is neccessary to do those workarounds?

Started this thread Reply With Quote
  #4 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

Hi fjgaspar,

I don't think there is an approach that doesn't require any programming. However I am not sure what this "native" solution that you are referring to is. The only thing that comes to mind would be "StrategyInfo.GetPlotValue()" and "StrategyInfo.SetPlotValue()".

Regards,

ABCTG

Follow me on Twitter Reply With Quote
  #5 (permalink)
 fjgaspar 
Sevilla + Spain
 
Experience: Beginner
Platform: Multicharts
Trading: SP
Posts: 21 since May 2016
Thanks Given: 3
Thanks Received: 3

When I say native, I mean that you can reference an indicator from an strategy without write the code of the indicator on the strategy and without have to modify the code of the indicator.

For example, if there is an indicator called RSI, something into the strategy code like:

valueofsi = RSI[0].Value would be the code to store the actual value of the RSI indicator into a variable used by the strategy.

That is what I don't know if is possible. Of course, if it is, the way to do won't be that, but if something like that exists, I would like to know how to do. Maybe StrategyInfoPlotvalue can do the trick.

Started this thread Reply With Quote
  #6 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

fjgaspar,

as far as I am aware the study on study functionality (that would not require programming) is only available for regular MC, but not MC.NET. Having said that I am not aware of any way within MC.NET that doesn't require at least
some programming to exchange the values, but you might want to contact the MC support directly to make sure.

Regards,

ABCTG

Follow me on Twitter Reply With Quote




Last Updated on January 26, 2017


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts