original m-candles from codebase

Moderator: moderators

User avatar
noushina
rank: 50+ posts
rank: 50+ posts
Posts: 147
Joined: Fri Sep 25, 2009 10:50 pm
Reputation: 0
Location: Fukushima Japan
Gender: None specified

original m-candles from codebase

Postby noushina » Wed Mar 24, 2010 3:42 pm

I like the wide candle shadows.
Attachments
m-candles (from codebase).mq4
(5.17 KiB) Downloaded 260 times
3-24-2010 11-39-49 AM.png
3-24-2010 11-39-49 AM.png (12.49 KiB) Viewed 2519 times

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

User avatar
noushina
rank: 50+ posts
rank: 50+ posts
Posts: 147
Joined: Fri Sep 25, 2009 10:50 pm
Reputation: 0
Location: Fukushima Japan
Gender: None specified

Postby noushina » Wed Mar 24, 2010 8:44 pm

OHHH. I'm such a poor programmer. I see that in order to make wide SHADOWS on TRO's version of candles_m-candles all I need do is add an external variable:

extern int ShadowWidth = 3;

and mod a couple of lines near the end of the code to be:
ObjectSet("ShadowTFh"+TFBar+"Bar"+shb, OBJPROP_WIDTH, ShadowWidth);
ObjectSet("ShadowTFl"+TFBar+"Bar"+shb, OBJPROP_WIDTH, ShadowWidth);

TRO's mod is better than the original because you can turn it to outline rather than solid all the time

User avatar
bredin
rank: 1000+ posts
rank: 1000+ posts
Posts: 1033
Joined: Mon Feb 16, 2009 10:41 pm
Reputation: 7
Gender: None specified
Contact:

Postby bredin » Wed Mar 24, 2010 9:11 pm

well done noushina, welcome to the ranks of the "copy and paste" coders :)

G.
Welcome to the era of "Guns and Maskies" Trading!
The previous message contains discretion. Viewer nudity is advised.
Insanity Industries Indicators Here
Insanity Industries on YouTube!

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


Return to “MetaTrader”