Forum

Created Cbutton object not showing in chart

Hello. Question is clear . i trying to create a CButton object simply like this : CButton btn; Comment (btn.Create( 0 , "btn1" , 0 , 60 , 60 , 60 , 60 )); btn.Visible( true ); btn.Color( clrRed ); btn.Show(); btn.Text( "BTN" ); But it isn't show anything in chart.Why

Draw an Object Using Click Event

I have an indicator with one button in corner of chart And i want to click this button first,then click on the one of the chart bars and my indicator draw a simple line from that bar's date(and again when i clicking on that button , remove previous line and draw new with new given date ) the big

Is it possible connect a 3rd party app to mql server for receiving live prices?

Hello. I want to receive last prices in my simple application is it possible to connect a 3rd party app to forex servers(mql server) just for receiving last prices? otherwise can i connect my app to meta trader for receiving prices? i'm using C#

When indicator parameter changes, values of an array remain same as before

Hello. I want to plot some indicator lines and sometimes add or remove some of them. For this, i using an 2D array that each column filling a buffer in calculate method. How and where should i declare this Array[][] so that when i change indicator parameters , values and calculations of this array

MT4 doesnt show all trading history

Hello everybody i have a problem with my mt4 (or maybe broker) trading history terminal doesn't show all the trades even when i select "All History" instead it shows up sum of all profit/losses in a period of time(3 months) how can i have all trades in history

Slpit indicator's plotted lines

Hello I have a question about plotted lines in indicators how can i split waste lines in an indicator like this picture? Is there any code that split a piece of indicator lines

Assigning Bool Input to Chart Buttons Instead Input Values

Hi Everybody Suppose i Want to Create 3 Buttons in Chart with Bool Value and i Want Change my indicator parameters with these buttons instead input values so far i could create all needed things for that but there is a problem that is : i don't know how to calling OnCalculate() method after i press

Importing DLL's from C#

hello Can anybody tell me this work could be done ? i want to import a series of classes and functions into mql5 or mql4 programming how could i write *.mqh files so i can call functions from *.DLL ? a simply example of a class can be very useful. tnx