====== Top Bottom Price ====== FIXME ===== Parameters ===== **Logical rules for Opening Point of the Position slot.** * Enter long at the top price; * Enter long at the bottom price; **Logical rules for Opening Logic Condition slot.** * The bar opens below the top price; * The bar opens above the top price; * The bar opens below the bottom price; * The bar opens above the bottom price; * The position opens below the top price; * The position opens above the top price; * The position opens below the bottom price; * The position opens above the bottom price; **Logical rules for Closing Point of the Position slot.** * Exit long at the top price; * Exit long at the bottom price; **Logical rules for Closing Logic Condition slot.** * The bar closes below the top price; * The bar closes above the top price; * The bar closes below the bottom price; * The bar closes above the bottom price; **List box parameters** * **Base price** (High & Low). Used price from the indicator. Options: High & Low. * **Base period** (Previous day). The period, the top/bottom prices are based on. Options: Previous bar, Previous day, Previous week, Previous month. **Numeric box parameters** * **Vertical shift** (0). A vertical shift above the top and below the bottom price. Minimum: -2000, Maximum: 2000. ===== Implementation ===== C# source code: [[https://github.com/PopovMP/FSB_Pro_Indicators/blob/master/Indicators/Store/TopBottomPrice.cs|Top Bottom Price]]. MQL source code: [[https://github.com/PopovMP/FSB_Expert_Advisor_Code/blob/master/Forexsb.com/Indicators/TopBottomPrice.mqh|Top Bottom Price]].