Toronto, Canada
Posts: 1 since Apr 2013
Thanks Given: 0
Thanks Received: 0
|
Hi,
I've been working on a way to draw high and low pivots and then mark them with trend lines, and as a strategy code it has been working successfully.
I wanted to code it as an indicator instead that plots the high and low pivots, but using the same calculations and plotting the values that successfully appeared as trendlines yielded a blank chart
I took it a step further and now I can't understand what I'm seeing. I made the simplest of new indicators, completely blank and the only formatting I did to it was to set it to be on Subgraph 1. The only line of code it contains is "Plot1(Close);"
But when added to the chart, it is not plotting anything remotely similar to the close - it seems to be arbitrarily putting whatever values it wants. My mind is burned out from trying to look at this, can anyone tell me what is wrong with either me or what I'm doing?
I wanted to attach a screenshot of what I'm getting for Plot1(Close); , but my post count is too low to allow adding links or images.
But please then visualize a set of ordinary candlesticks with a red plot line that is basically a few ticks above the high of each candle instead of at its close. It is also not plotting at the close of the prior one, or any nearby one, as though it were displaced.
Thanks
|