Forum

How to Overlap Zero Lines of Two Indicators in The Same Sub-chart ?

I have two custom indicators for MQL4 that both fluctuate with a median value of 0. When I put both these indicators into the same SUBCHART, their respective 0 lines do not overlap. Is there any way to overlap the 0 lines? The pic shows two 0 lines are not overlap. Thank you for your help in

MT4: How to add the drop menu to allow choice of open price, high price, low price to my indicator?

I composed my indicator using Close[i]. But I saw the official indicators allow traders to choose which price to apply to in the parameter settings. How to code that? Thanks

Cannot loading customized, indicator “has newer unsupported version, please update your client terminal”

This is a simple indicator modified from the official RSI. When I load to terminal, I get a warning. “has newer unsupported version, please update your client terminal” My terminal is updated to 5.00 build 3039. I don't know why. you can find the indicator in the attachment. Thank you

mt4: Wrong Calculation in the main for() loop in Simple Indicator.

I am learning to compose indicators. I changed the official RSI a little. Most I do is changed the final step of RSI formula. For practice, the idea is to calculate the (net profit in pips) / [total rise pips + abs(total fall pips)], windows = 20, time frame is M1 or M5 The main loop is shown below

MT5: 'for' expressions are not allowed on a global scope

This indicator is similar to the RSI. The idea is to calculate net_profit / [sum(positive returns) + abs(sum(negative returns))] in a rolling window. But after I changed the code in the main loop, the terminal says: 'for' expressions are not allowed on a global scope //--- the main loop of

My RSI Indicator Does Not Work.

I changed a little on the official RSI indicator, but it does not work. No error in compile. Please anyone give some comments. Thank you

EA Cannot find another chart --SOLVED

Hi, friend, I got a problem, explained in following example. For example, I attach an EA to EURUSD chart only, then use following codes to add OBJ_ARROW_BUY to USDJPY chart . The EA is NOT attached to USDJPY. The system replies error 4202, cannot find object. Your help is appreciated. *** UPDATE

Send ObJ_Arrow to Multiple Charts from Python to MT4 via ZMQ

Hi, frined, I tried to send OBJ_ARROWS from python to MT4. Steps as below: 1. add EA to EURUSD chart, and then add the same EA to USDJPY chart. Both are successful. 2. Add arrows to EURUSD chart. Success. 3. Add arrows to USDJPY chart. Terminal expert says error 4202, object not found. I post my