Hi,
I am having a hell of a time trying to understand the MT4 code...I am far from being a coder
Does anyone have the code to paint a bar say RED when the open is in the top 33% of the bar and the close is in the bottom 33% of the bar, and paint it GREEN if the opposite is true?
I know this is possible in TS, however I use Metatrader. I believe its called paintbars.
Worst case, does anyone know how to place an UP/DOWN arrow below any bar exhibiting the above behaviour rather than repainting it?
Repainting bars based on Open/Close
Moderator: moderators
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.
- TheRumpledOne
- rank: 10000+ posts
- Posts: 15562
- Joined: Sun May 14, 2006 9:31 pm
- Reputation: 3036
- Location: Oregon
- Real name: Avery T. Horton, Jr.
- Gender:
- Contact:
TRO_Multi_Meter_OneThird_OC
TRO_Multi_Meter_OneThird_OC displays the 1/3 bar status for all of the time frames.
The colors are inputs. I used blue instead of green.
MT4 version of TRO_Multi_Meter_OneThird_OC attached.
TRO_Multi_Meter_OneThird_OC displays the 1/3 bar status for all of the time frames.
The colors are inputs. I used blue instead of green.
MT4 version of TRO_Multi_Meter_OneThird_OC attached.
- Attachments
-
- TRO_Multi_Meter_OneThird_OC.zip
- (12.26 KiB) Downloaded 179 times
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!
Please do NOT PM me with trading or coding questions, post them in a thread.
Please do NOT PM me with trading or coding questions, post them in a thread.
- TheRumpledOne
- rank: 10000+ posts
- Posts: 15562
- Joined: Sun May 14, 2006 9:31 pm
- Reputation: 3036
- Location: Oregon
- Real name: Avery T. Horton, Jr.
- Gender:
- Contact:
Here's the indicator to "paint" the bars.
I included a barsgray template. Make sure you install that template and use it before you load the TRO_ONETHIRDOC indicator to paint the bars.
- Attachments
-
- TRO_Multi_Meter_OneThird_OC.zip
- (16 KiB) Downloaded 198 times
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!
Please do NOT PM me with trading or coding questions, post them in a thread.
Please do NOT PM me with trading or coding questions, post them in a thread.
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.