Forex_Strategy_Builder.Ichimoku_Kinko_Hyo.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 Tenkan Sen":
                    EntryPointLongDescription  = "at the Tenkan Sen of " + ToString();
                    EntryPointShortDescription = "at the Tenkan Sen of " + ToString();
                    break;
                case "Enter the market at the Kijun Sen":
                    EntryPointLongDescription  = "at the Kijun Sen of " + ToString();
                    EntryPointShortDescription = "at the Kijun Sen of " + ToString();
                    break;
                case "Exit the market at the Tenkan Sen":
                    ExitPointLongDescription  = "at the Tenkan Sen of " + ToString();
                    ExitPointShortDescription = "at the Tenkan Sen of " + ToString();
                    break;
                case "Exit the market at the Kijun Sen":
                    ExitPointLongDescription  = "at the Kijun Sen of " + ToString();
                    ExitPointShortDescription = "at the Kijun Sen of " + ToString();
                    break;
                case "The Tenkan Sen rises":
                    EntryFilterLongDescription  = "the Tenkan Sen of " + ToString() + " rises";
                    EntryFilterShortDescription = "the Tenkan Sen of " + ToString() + " fals";
                    break;
                case "The Kijun Sen rises":
                    EntryFilterLongDescription  = "the Kijun Sen of " + ToString() + " rises";
                    EntryFilterShortDescription = "the Kijun Sen of " + ToString() + " fals";
                    break;
                case "The Tenkan Sen is higher than the Kijun Sen":
                    EntryFilterLongDescription  = ToString() + " - the Tenkan Sen is higher than the Kijun Sen";
                    EntryFilterShortDescription = ToString() + " - the Tenkan Sen is lower than the Kijun Sen";
                    break;
                case "The Tenkan Sen crosses the Kijun Sen upward":
                    EntryFilterLongDescription  = ToString() + " - the Tenkan Sen crosses the Kijun Sen upward";
                    EntryFilterShortDescription = ToString() + " - the Tenkan Sen crosses the Kijun Sen downward";
                    break;
                case "The bar opens above the Tenkan Sen":
                    EntryFilterLongDescription  = "the bar opens above the Tenkan Sen of " + ToString();
                    EntryFilterShortDescription = "the bar opens below the Tenkan Sen of " + ToString();
                    break;
                case "The bar opens above the Kijun Sen":
                    EntryFilterLongDescription  = "the bar opens above the Kijun Sen of " + ToString();
                    EntryFilterShortDescription = "the bar opens below the Kijun Sen of " + ToString();
                    break;
                case "The Chikou Span is above the closing price":
                    EntryFilterLongDescription  = "the Chikou Span of " + ToString() + " is above the closing price of the corresponding bar";
                    EntryFilterShortDescription = "the Chikou Span of " + ToString() + " is below the closing price of the corresponding bar";
                    break;
                case "The position opens above the Kumo":
                    EntryFilterLongDescription  = "the position opens above the Kumo of " + ToString();
                    EntryFilterShortDescription = "the position opens below the Kumo of " + ToString();
                    break;
                case "The position opens inside or above the Kumo":
                    EntryFilterLongDescription  = "the position opens inside or above the Kumo of " + ToString();
                    EntryFilterShortDescription = "the position opens inside or below the Kumo of " + ToString();
                    break;
                case "The Tenkan Sen is above the Kumo":
                    EntryFilterLongDescription  = ToString() + " - the Tenkan Sen is above the Kumo";
                    EntryFilterShortDescription = ToString() + " - the Tenkan Sen is below the Kumo";
                    break;
                case "The Tenkan Sen is inside or above the Kumo":
                    EntryFilterLongDescription  = ToString() + " - the Tenkan Sen is inside or above the Kumo";
                    EntryFilterShortDescription = ToString() + " - the Tenkan Sen is inside or below the Kumo";
                    break;
                case "The Kijun Sen is above the Kumo":
                    EntryFilterLongDescription  = ToString() + " - the Kijun Sen is above the Kumo";
                    EntryFilterShortDescription = ToString() + " - the Kijun Sen is below the Kumo";
                    break;
                case "The Kijun Sen is inside or above the Kumo":
                    EntryFilterLongDescription  = ToString() + " - the Kijun Sen is inside or above the Kumo";
                    EntryFilterShortDescription = ToString() + " - the Kijun Sen is inside or below the Kumo";
                    break;
                case "The Senkou Span A is higher than the Senkou Span B":
                    EntryFilterLongDescription  = ToString() + " - Senkou Span A is higher than the Senkou Span B";
                    EntryFilterShortDescription = ToString() + " - Senkou Span A is lower than the Senkou Span B";
                    break;
                case "The Senkou Span A crosses the Senkou Span B upward":
                    EntryFilterLongDescription  = ToString() + " - Senkou Span A crosses the Senkou Span B upward";
                    EntryFilterShortDescription = ToString() + " - Senkou Span A crosses the Senkou Span B downward";
                    break;

                default:
                    break;
            }

            return;
        }