Forum

SpinEdit does not show value when changing timeframes.

When the following Expert is initially attached to a chart, The SpinEdit value 25 is displayed. If the timeframe is changed, the value 25 is no longer displayed. However, clicking the up/down arrows will re-display the value. Changing timeframes again will hide the value. Is there a way to keep the

Market Folder

On my MT4 platform in the Navigator window, under Indicators, there appears to be a small blue down arrow on the Market Folder. What does this mean? Thank you

GlobalVariableSet and Get unexpected results

Here is a short Expert that creates a Dialog with a Button and an Edit box. The Text in the Button is set to 123 and the edit box is set to 789. I'm trying to maintain these values using GlobalVariableSet and Get functions . After loading the Expert and changing timeframes, under the TOOLS option on

Gaps in Moving Average Line

I'm trying to show the moving average in 2 colors. Blue if the MA is trending up and red if trend is down. The problem occurs when the trend is changing from up to down or vice versa. When the trend changes, there is a gap in the MA line. In other words the MA line is not continuous. I need some

String Global Variable

The function GlobalVariableSet needs a double parameter. I'd like to store a string value like "ABC" as a global. Is this possible?? Thanks

CPanel does not Show Text

This code will display the AppDialog and Panel. The Panel color shows as LightGray, but I cannot make the Text appear. This may be a simple example but I cannot make it work. Any ideas? Thanks for the help. #property strict #property indicator_chart_window #include <Controls\Dialog.mqh> CAppDialog

Placed By Expert

I have a SCRIPT that opens a Buy order via OrderSend. Then calls OrderModify to set SL and TP. When I hover over the new position in the Terminal window, it shows "Placed by expert". There is no Expert ID shown. Since I am opening the position manually, why does it show "Placed by expert"

Object created but unable to Find

This script creates a Horizontal line object that actually shows on the chart. If I display the Objects List, the object name is included in the list. However when I loop through ObjectsTotal() the object name does not Print. In addition, ObjectFind() also fails to locate the object. Any ideas to

Click X in Dialog box

How can I tell if the user has clicked on the 'X' icon button in the Dialog Box Title bar