пятница, 7 августа 2020 г.

GS.Trade.Strategies

 Ti23

 if (Position.Quantity < Contracts)

                    {

                          Mode = IsPosPositive2 ? 2 : 3;

                    }

                    else if (Position.Quantity >= Contracts)

                    {

                        MaxContractsReached = true;


                        Mode = IsPosPositive2 ? 8 : 4;

                    }

Exit with Profit in Mode: 2,8 wth Signal 3

Exit with Loss in Mode: 4,3 wth Signal 2

Entry, Increase Position Signal 1 

Example Msg(Signal1,Signal2,Signal3)  -> (188,164,260)

----------------------

Ti22

 if (Position.Quantity < Contracts)

                    {

                        Mode = IsPosPositive2 ? 2 : 3;

                    }

                    else if (Position.Quantity >= Contracts)

                    {

                        Mode = IsPosPositive2 ? 8 : 4;

                    }

Exit with Profit in Mode: 2,8 wth Signal 1

Exit with Loss in Mode: 4,3  AND  Increase in Profit  in Mode: 2 with Signal 2

Entry, Increase Position in Losss: Signal 1 

Example Msg(Signal1,Signal2)  -> (260,188)