Indictor that plots a vertical line prev to live candel

Moderator: moderators

User avatar
MarketSlayer
rank: <50 posts
rank: <50 posts
Posts: 23
Joined: Mon Aug 31, 2009 10:57 pm
Reputation: 0
Gender: Male
Contact:

Indictor that plots a vertical line prev to live candel

Postby MarketSlayer » Wed Nov 18, 2009 2:02 pm

I use a vertical line on the previous candle to get a read on indicators. It is very helpful. The current candle is drawing so you don't know where it will end up. I am struggling to draw the vertical line and whatever chart you change to, the vertical line should always be on the previous to current live candle....When a candle ends, it should move to the right one candle and trail the current live candle by just one candle. Hope this makes sense
Attachments
vertical line indicator.jpg
Here is a creen showing hw I use it.
vertical line indicator.jpg (61.6 KiB) Viewed 356 times

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
snscott
rank: 50+ posts
rank: 50+ posts
Posts: 60
Joined: Sun May 24, 2009 2:15 pm
Reputation: 0
Location: Great Republic Of Texas
Real name: Steven Scott
Gender: Male

Postby snscott » Thu Nov 19, 2009 6:14 am

Oh oh oh, this one was easy. :-)

Here is SNS_PREVCANDLE_VLINE, which does what you describe.

Inputs allow you to specify line width, style, and color (but keep in mind that styles other than "solid" are only available im MT4 when the line width is "1".

Not sure exactly what this line helps you "do" or how it helps you trade though.
Attachments
SNS_PREVCANDLE_VLINE.mq4
(2.14 KiB) Downloaded 64 times
Image

User avatar
MarketSlayer
rank: <50 posts
rank: <50 posts
Posts: 23
Joined: Mon Aug 31, 2009 10:57 pm
Reputation: 0
Gender: Male
Contact:

Postby MarketSlayer » Thu Nov 19, 2009 1:27 pm

Steven, perfect, I love this.
I make my decisions from CLOSED Candles..the previous candle and its indicators...NOT the current candle. So this line helps me to see are the indicators rising/falling...as we all know you can't analyze the current candle, as it is NOT done, so the indicators have not been plotted etc..So thank you I read through your code and learned a great deal. Nice work..

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “MetaTrader”