Forex_Strategy_Builder.Previous_Bar_Closing.SetDescription C# (CSharp) Method

SetDescription() public method

Sets the indicator logic description
public SetDescription ( SlotTypes slotType ) : void
slotType SlotTypes
return void
        public override void SetDescription(SlotTypes slotType)
        {
            switch (IndParam.ListParam[0].Text)
            {
                case "Enter the market at the previous Bar Closing":
                    EntryPointLongDescription  = "at the closing price of the previous bar";
                    EntryPointShortDescription = "at the closing price of the previous bar";
                    break;

                case "The position opens above the previous Bar Closing":
                    EntryFilterLongDescription  = "the position opens above the closing price of the previous bar";
                    EntryFilterShortDescription = "the position opens below the closing price of the previous bar";
                    break;
                case "The position opens below the previous Bar Closing":
                    EntryFilterLongDescription  = "the position opens below the closing price of the previous bar";
                    EntryFilterShortDescription = "the position opens above the closing price of the previous bar";
                    break;

                case "The bar opens above the previous Bar Closing":
                    EntryFilterLongDescription  = "the bar opens above the closing price of the previous bar";
                    EntryFilterShortDescription = "the bar opens below the closing price of the previous bar";
                    break;
                case "The bar opens below the previous Bar Closing":
                    EntryFilterLongDescription  = "the bar opens below the closing price of the previous bar";
                    EntryFilterShortDescription = "the bar opens above the closing price of the previous bar";
                    break;

                case "The bar closes above the previous Bar Closing":
                    ExitFilterLongDescription  = "the bar closes above the closing price of the previous bar";
                    ExitFilterShortDescription = "the bar closes below the closing price of the previous bar";
                    break;
                case "The bar closes below the previous Bar Closing":
                    ExitFilterLongDescription  = "the bar closes below the closing price of the previous bar";
                    ExitFilterShortDescription = "the bar closes above the closing price of the previous bar";
                    break;

                case "Exit the market at the previous Bar Closing":
                    ExitPointLongDescription  = "at the closing price of the previous bar";
                    ExitPointShortDescription = "at the closing price of the previous bar";
                    break;
                default:
                    break;
            }

            return;
        }