Forum

Trade Request Returns Invalid Request

Hi, can someone correct me what is the mistake below? I got error code 10013 which mean invalid request. FYI, I am using MetaQuotes-Demo account. Thank you very much. My code bool Trade_Buy() { ZeroMemory (my_request); ZeroMemory (my_result); ZeroMemory (my_check_result); my_request.action

Change ChartIndicatorAdd Chart Color

Hi, any possibility to change the chart color displayed by function " ChartIndicatorAdd "? Thank you. int EMA_HIGH_20_Handle = iMA(_Symbol,_Period,20,MAShift,MODE_EMA,PRICE_HIGH); <-- This should be Color of BLUE and the style as STYLE_DOT ChartIndicatorAdd (ChartID(), 0, EMA_HIGH_20_Handle); int