Plot daily indicator in real time
Author: Starburst
Creation Date: 10/7/2013 9:05 PM
profile picture

Starburst

#1
I saw BigReturns post and I too would like to plot a daily indicator in real time on an intraday chart. I am not a programmer but could someone help me work through this code.
Here is my indicator.
CODE:
Please log in to see this code.
profile picture

Eugene

#2
I wonder how many more new threads might be required for the same code?

Help with Math.Round
Test if bar scale is daily

You could save us time on searching by just collecting all questions regarding one particular strategy/code, in a single thread.

Additionally, I already analyzed your code, identifying a performance problem:

Help with Math.Round, see reply #3

It hardly makes great sense to return to your version as it still suffers from the same problem, already solved in my reply.
profile picture

Starburst

#3
Hi Eugene, Thank you for your reply. I’m sorry; did I make my post in the wrong forum? Should I be posting in Wealth-Lab 101 or Technical Indicators?

I thought I had resolved my issue with math round and that my code was working as it should. It may be obvious to you but could you try to show me my short coming again. Please bear with me I do appreciate your help.
profile picture

Eugene

#4
Jeff,

It's not about targeting the wrong forum - it's creating numerous threads dedicated to what essentially is one short code - even though questions might be different.

I'm not concerned about Math.Round - rather with not making the code readable by fixing the VarA, VarR1... DataSeries.

Anyway, I'm not that familiar with what your script is doing to transform it into updating in real-time following this pattern. Sorry.
profile picture

Starburst

#5
Eugene,

I had acquired this code when I was using TS. I have just recently moved my account to fidelity and started using WLP6.

All I have done was translated the code from TS to WLP6. My questions have mainly been when I get stuck on code syntax.

Did I mention I am not a programmer and I feel that I may be a little in over my head. Not that it discourages me. I know that Wealth Lab is a great product and I haven’t begun to use the full potential that it has to offer but that is why I am here. It has a lot of features that I like over TS, but TS did update their indicators in real time.

How to use this indicator is simple, buy when it is below -8 and sell when it above 8. This link is to a book about it.

http://www.barnesandnoble.com/w/dynamic-trading-indicators-david-stendahl/1112114921?ean=9780471215578

I know you have a lot on your plate. I will try to keep any of my future questions as brief as I can and I look forward to you guiding me along.

Thank you for your time.
profile picture

Eugene

#6
QUOTE:
but TS did update their indicators in real time.

Wealth-Lab works differently, and real time update is not required for systematic trading which Wealth-Lab is about. It's explained in this FAQ:

Is it necessary to have access to intra-bar tick data to daytrade with Wealth-Lab?

Serving a different purpose, the solution you referred to outlines the process of updating a Daily indicator using Intraday values. It will NOT help update the indicator in real time, as it's not supported in WL6. Sorry if I wasn't clear.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).