Forum

How to avoid zero divide before indicator calculates

Hello, I have an indicator I'm working on that when it is first placed on the chart, the bollinger band values are zero and I end up with a zero divide message in both MT4 and MT5. After the bollinger band values and the indicator have a chance to calculate, it displays correctly but appears again

Comment on secondary chart window?

Hello, Is there a way to add simple text comments to a secondary chart window like you can with comment() on the main chart window? Thank you

Dynamic minimum lot size digit accuracy

Hello. I'm working to have code to be able to dynamically determine the digit accuracy of the minimum lot size. After getting this number without errors, I will use it with the NormalizeDouble function to determine my correct number of lots for my order. The end pseudo-code will be double Lots =