wulidancing / Publications
Forum
Function call that returns account type (standard, mini, micro)
I know this is probably easy but I can't find it. Is there any way for an EA to determine the current account type (Standard, Mini, Micro) automatically? An EA would seem to need to know that 1 lot in a standard account is very different from 1 lot in a mini account. Something like: CAccountInfo
Using colors in Trend Indicators Class
I have a simple question, but I cannot find a simple answer. I am creating two moving averages in my code using the trend indicators class CiMA and putting them in my chart. The question I have is how do I change the color of the moving average lines after they are placed in the chart. Currently