Forum

Panel, label, colours

Hello everybody. I'm starting the study of creating "panels" in mql5. I made a simple label (code attached). How can I set the Background and Border color on the label? Thanks

Get the number of deals in the current renko bar

Hello everybody. I know that it is not possible to do operations on the renko chart (open positions and other operations) but it can be used as an analysis chart. I also know that the renko doesn't count by time but by price. In this sense, how to obtain the total number of deals (in and out; buy

Ways to get "profit" from a position (advantages and disadvantages)

Dear experts, i know that i can get the profit from a position by: 1.difference between PriceCurrent and PriceOpen 2.PositionGetDouble( POSITION_PROFIT ) What are the advantages and disadvantages for each case? Thanks

Add text and numbers to the end of a dynamic level

How can I add text and numbers at the end of a dynamic level like in the picture

Detet the trend using ZigZag

In this code " https://c.mql5.com/3/260/ZigZag_Example.mq5 " i learn how to detet ZigZag extremum. How to know if the last detected extremum is high or low? How to code: if last extremum was high then it's downtrend and if it's low then it's downtrend? Thanks

Use Heiken_Ashi as main chart

Hello everyone. I'm trying to use the chart produced by the Heiken_Ashi indicator as a chart on which other indicators can do the calculations and plot figures, lines, etc. Is the code below correct

Get the profit in pips

Hello! How can i get the profit in pips

draw or plot Wingdings

Hello everyone! I've been looking for days here on the forum and I can't find anything! From the documentation I realized that it is possible to draw wingdings in the separate window through two paths ( Object create or draw arrow -via buffer). Could someone help me by showing how I can draw

Apply custom indicator handle in other custom indicator handle

//+------------------------------------------------------------------+ //| Donchian-RSI.mq5 | //| Copyright 2021, MetaQuotes Ltd. | //| https://www.mql5.com |

Find Obj_Text, get OBJPROP_ANCHOR for EA

Hello everyone. I'm trying to get the Object Text, specifically the Anchor text from a custom indicator to use it as an input signal. I'm having some errors and I can't fix them. Could someone help me