NexusFi: Find Your Edge


Home Menu

 





Importing Indicator Values Into a Chart


Discussion in MultiCharts

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




 
Search this Thread

Importing Indicator Values Into a Chart

  #1 (permalink)
 mamax98 
Los Angeles California United States
 
Experience: Beginner
Platform: NT, TS, MC
Trading: ES
Posts: 54 since Jun 2015
Thanks Given: 152
Thanks Received: 13

Hi,
I recently purchased intraday data to perform backtesting on. The data contained the date, time, OHLC, VWAP values, volume and number of trades. I cleaned the data (deleted VWAP column) and imported it using ASCII mapping. I wasn't able to construct VWAP using the actual indicator I have coded in Multicharts (because it uses up/down ticks to construct). So, I constructed a new symbol and called it VWAP, then imported the values that came with the data, and inserted it in the chart as an instrument. This works fine, I have the data instrument and VWAP drawn on it.
My question is: was there a better way to do this? Also what's the best way to go about constructing the VWAP bands?

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
REcommedations for programming help
Sierra Chart
MC PL editor upgrade
MultiCharts
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628

mamax98,

one way to accomplish this via an indicator would be to read the file using EasyLanguage Collections and then plot the values. It will require some programming and if your method works for you, there might not be a reason to change it.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
Thanked by:
  #3 (permalink)
 mamax98 
Los Angeles California United States
 
Experience: Beginner
Platform: NT, TS, MC
Trading: ES
Posts: 54 since Jun 2015
Thanks Given: 152
Thanks Received: 13



ABCTG View Post
mamax98,

one way to accomplish this via an indicator would be to read the file using EasyLanguage Collections and then plot the values. It will require some programming and if your method works for you, there might not be a reason to change it.

Regards,

ABCTG

Ok Thank you. I was just reading a few threads that talk about how to reference a .csv file. My workarounds works for now but I will probably try to do it the correct way. My main goal right now is to figure out how to construct the bands around the VWAP, any tips?

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

mamax98,

you would have to elaborate what kind of bands you are looking for. Otherwise the tips might not be too helpful for you. Check the Bollinger Bands and the Keltner Channel indicators for two types of bands around an average.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
  #5 (permalink)
 mamax98 
Los Angeles California United States
 
Experience: Beginner
Platform: NT, TS, MC
Trading: ES
Posts: 54 since Jun 2015
Thanks Given: 152
Thanks Received: 13


ABCTG View Post
mamax98,

you would have to elaborate what kind of bands you are looking for. Otherwise the tips might not be too helpful for you. Check the Bollinger Bands and the Keltner Channel indicators for two types of bands around an average.

Regards,

ABCTG

Oh, I meant the stdev bands that surround the VWAP line (usually 1 and 2 stddev bands).

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

mamax98,

in that case the Bollinger Bands indicator can be used as a reference.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
Thanked by:
  #7 (permalink)
 mamax98 
Los Angeles California United States
 
Experience: Beginner
Platform: NT, TS, MC
Trading: ES
Posts: 54 since Jun 2015
Thanks Given: 152
Thanks Received: 13


ABCTG View Post
mamax98,

in that case the Bollinger Bands indicator can be used as a reference.

Regards,

ABCTG

Thanks @ABCTG. I was able to code standard deviation bands using the close of data2 (VWAP) and High/low of data1 (price).

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

mamax98,

where do you use the High/Low of Data1 in your computations?

Regards,

ABCTG

Follow me on Twitter Reply With Quote
  #9 (permalink)
 mamax98 
Los Angeles California United States
 
Experience: Beginner
Platform: NT, TS, MC
Trading: ES
Posts: 54 since Jun 2015
Thanks Given: 152
Thanks Received: 13

Initially I used high/low based on where price is relative to VWAP. Then I decided to just use Typical price to keep things simple. I hope that helps.

Sent using the NexusFi mobile app

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


mamax98,

great, if it gives you the results you are looking for. I am just not clear where you'd use the high/low/typical price (or what ever price) in the computation for the standard deviation of the VWAP.

Regards,

ABCTG

Follow me on Twitter Reply With Quote




Last Updated on December 14, 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