====== Balance of Power ====== FIXME ===== Parameters ===== **Logical rules for Opening Logic Condition slot.** * Balance of Power rises; * Balance of Power falls; * Balance of Power is higher than the zero line; * Balance of Power is lower than the zero line; * Balance of Power crosses the zero line upward; * Balance of Power crosses the zero line downward; * Balance of Power changes its direction upward; * Balance of Power changes its direction downward; **Logical rules for Closing Logic Condition slot.** * Balance of Power rises; * Balance of Power falls; * Balance of Power is higher than the zero line; * Balance of Power is lower than the zero line; * Balance of Power crosses the zero line upward; * Balance of Power crosses the zero line downward; * Balance of Power changes its direction upward; * Balance of Power changes its direction downward; **List box parameters** * **Smoothing method** (Simple). The method of smoothing. Options: Simple, Weighted, Exponential, Smoothed. **Numeric box parameters** * **Period** (14). The smoothing period. Minimum: 1, Maximum: 100. ===== Implementation ===== C# source code: [[https://github.com/PopovMP/FSB_Pro_Indicators/blob/master/Indicators/Store/BalanceOfPower.cs|Balance of Power]]. MQL source code: [[https://github.com/PopovMP/FSB_Expert_Advisor_Code/blob/master/Forexsb.com/Indicators/BalanceOfPower.mqh|Balance of Power]].