NexusFi: Find Your Edge


Home Menu

 





Multichart coding and settings


Discussion in MultiCharts

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




 
Search this Thread

Multichart coding and settings

  #1 (permalink)
 
Lysakat's Avatar
 Lysakat 
Las Vegas NV USA
 
Experience: Beginner
Platform: TWS, TOS, Multicharts
Broker: IB
Trading: Stocks, ETFS,Options
Posts: 28 since Jul 2014
Thanks Given: 11
Thanks Received: 11

I have a few specific questions about Multicharts. Although I am new to Multicharts, I am not new to programming. I am able to program at an EasyLanguage-PowerLanguage level. I do not code in C# etc. Although my coding skills are pretty old school I have good understanding of the principals involved and potentials.
I have several indicators developed in other platforms, PRT and TOS, that I wish to enhance. Neither of these platforms can accomplish my expanded goals in creating indicators.
1. I want to use several instruments in one indicator. It appears the data(n) accomplishes that. Am I correct? Any helpful suggestions either with code examples or other hints for setup are appreciated.
2. I wish to code an Advance-Decline indicator on NASDAQ. We use IB as our broker and although we have successfully connected via the API, the A-D isn’t charting. It may be limited by our market data subscriptions or not setting Multicharts correctly. Are there are data sources to use? I just need to know what to do to get it?
3. Same question about the NASDAQ Composite Index. Being specific if you look at StockCharts.com they use the symbols $NAAD and $COMPQ respectively.
4. It appears Multicharts’ Advance-Decline indicator requires two data sources one for advances and another for declines. How does that get setup? Do you use two separate data feeds? What are they?
5. I am having issues when using a 200 day moving average probably when setting ‘Max number of bars study will reference’. I expect the MA to start (it doesn't) where the ‘Data Range‘ is set to start but there seems to be something I am missing to achieve this.
Hopefully these are specific enough. If I have missed anything, please ask.
Thanks, thanks, thanks

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
ZombieSqueeze
Platforms and Indicators
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
Strategy stop orders partially filled
EasyLanguage Programming
 
  #2 (permalink)
 
Lysakat's Avatar
 Lysakat 
Las Vegas NV USA
 
Experience: Beginner
Platform: TWS, TOS, Multicharts
Broker: IB
Trading: Stocks, ETFS,Options
Posts: 28 since Jul 2014
Thanks Given: 11
Thanks Received: 11

OK figured out the answers to 1, 2, 3 and 4 with data sources and for free except for the immense amount of time staring at the computer screen reading endless babble about things I did not need to know, sifting and extracting the few I needed, nothing new I suppose.

I am however still baffled about question #5. "issues when using a 200 day moving average setting ‘Max number of bars study will reference’. I expect the 200MAvg to start (it doesn't) where the ‘Data Range‘ is set to start but there still seems to be something I am missing to achieve this."

What I wish to do is set a date range and have the 200 day moving average cover the entire range.

Let's say I want to see from Jan 2, 2015 to today. Using 'Auto" charts the 200MAvg for only the last several months. Using 'Manual' set to 200 shows much further back but not all the way to Jan 2, 2015 (it stops near Mar 2015 instead). Using 'Manual' set to 300 or 100 or almost any other value charts much less 200MAvg. I definitely don't get it.

Hope someone has an insight I have obviously missed.

Thanks for any help

Started this thread Reply With Quote
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629


Lysakat,

when using a 200 day simple moving average you need at least 200 bars of data until the MA will be shown on the chart. This is done to ensure you have an average containing 200 data points. Covering the entire chart range would likely require sending in the moving average values from another chart.

Regards,

ABCTG

Follow me on Twitter Reply With Quote




Last Updated on May 9, 2016


© 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