Can anyone tell me why the DrawLine statement in the following code doesn't ever show up on the chart? I'm running the strategy against SPY 5 minute data. Thanks.
CODE:
Please log in to see this code.
Size:
Color:
It does show on my chart when I load enough bars.
Size:
Color:
That's funny it doesn't show on mine. I could send you an image if I knew how to add it to this post.
Size:
Color:
I don't need an image, rather to know how many bars of data are you loading - if my reply wasn't enough of a hint ;)
Size:
Color:
I'm loading the last 500 bars of SPY 5 minute data using FIdelity in streaming mode.
Size:
Color:
Is only DrawLine not working for you, i.e., do you see the DrawCircles? Both look okay to me with those settings.
Make sure that you compile the script, or just click "Run this Strategy" from the Editor.
Size:
Color:
Yea the script is running and outputting alerts, I've compiled the script several times and yes the circles (buy targets) do show on the PricePane.
Size:
Color:
Does that happen for SPY exclusively, or with other symbols in any bar scale?
Size:
Color:
It happens on DIA SPY QQQQ on all intraday time periods, 1 min, 5 min, 15 min .
Size:
Color:
Maybe it's a monitor resolution thing. Try bumping up the line width from 1 to 2 or 3.
Size:
Color:
Nope changed it to 3 and still no ink shows.
Size:
Color:
Is it possible that you're using a black chart background, so that's why you can't see the "Color.Black" lines?
Size:
Color:
No the chart background is white. I've also tried changing the line color and it doesn't seem to matter.
Size:
Color:
Sounds bizarre to me. Can you post an image, or attach one to a support ticket, please?
Size:
Color:
To post an image, upload it first to any free image hoster (tinypic.com, imageshack.us, imagebam.com, imgur.com, thumbsnap.com - to name a few). Then:
* either retrieve the direct link to the full-size image and paste the link right between a pair of IMG tags (you should see a pane with "...LINK, QUOTE, CODE, IMG" buttons when adding a new post),
* or use a code snippet "for posting on the forums" (usually, every image hoster provides it).
Don't worry if things look broken - in this case, just leave the image link and we'll edit your message.
Size:
Color: