piersonrazzi: The code is easy once I can obtain the color of the moving average which I
have defined as "hull"
-
Why did you post your MT4 question in the Root / MT5 General section instead of the MQL4 section, (bottom of the Root page?)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Next time post in the correct place. The moderators will likely move this thread there soon. - There are no colors; EAs have no eyes. One buffer shows one color, the other for another; you find out which is which. You assign to one color
buffer, make the other color buffer EMPTY_VALUE. Also remember, at the bar where the color changes, both buffers will have the
same value.
HOW CAN I hide CONNECTION lines of plots? (ttt) - MQL4 programming forum
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I am writing to code so that when my custom indicator which is the hull moving average changes from green to red or red to green It will execute the proper order.
This is my pseudo code:
this is all I have done so far:
The code is easy once I can obtain the color of the moving average which I have defined as "hull"
im assuming the code would sort of be:
if hullcolor[1]==downcolor and hullcolor==upcolor
orderSend(buy etc)