Skip to content
TheChatArchiveThe Chat Archive
Amazon Novaamazon.nova-pro-v1:0· AmazonHugging Face LMArena Human Preference 140K

Tylko, że ja nie prosiłem o zmianę kierunku strzałek, gdyż uważam, że właśnie tak jak…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Metallama-4-maverick-03-26-experimental’s answer.
  1. User

    Tylko, że ja nie prosiłem o zmianę kierunku strzałek, gdyż uważam, że właśnie tak jak było one wskazywały właściwy kierunek gdzie cena będzie podążać. Przywróć to do poprzedniego stanu. Podoba mi się zmiana kolorów dla EMA, wygląda to dużo lepiej, dziękuję. Kolorów dla strzałek niestety nadal nie mogę zmienić. Gdy klikam okno z kolorem nie otwiera mi się menu w wyborem innych kolorów. Podsumowując, jeśli masz pomysł co zrobić bym miał możliwość zmiany kolorów z panelu, to zrób to. Ponadto przywróć kierunki strzałek tak jak było (odwrotnie)

  2. Amazon Nova Assistant

    Rozumiem, przywrócę kierunki strzałek do oryginalnego stanu i zaadresuję problem z menu koloru. Wydaje się, że problem polega na tym, że pole input color nie działa poprawnie w Wine dla MT5 na macOS.

    Przeanalizowałem sytuację i znalazłem potencjalne rozwiązanie. Zamiast używać typu input color, mogę zastosować input ENUM z kilkoma predefiniowanymi kolorami, co może pomóc w obejściu problemu z Wine.

    Zmienione Kod (InfinityAlgoRemake.mq5)

    //+------------------------------------------------------------------+
    //|                   InfinityAlgoRemake.mq5  (MT5)                  |
    //|          port Pine-scriptu „Infinity Algo – Remake"              |
    //|         Strzałki BUY/SELL (Buffer-based) bez alertów             |
    //+------------------------------------------------------------------+
    #property copyright "Free / Open-Source"
    #property version   "2.20"
    #property indicator_chart_window
    #property indicator_buffers 19
    #property indicator_plots   16
    
    //–– 1.  SuperTrend --------------------------------------------------
    #property indicator_label1  "SuperTrend"
    #property indicator_type1   DRAW_LINE
    #property indicator_color1  clrAqua
    #property indicator_style1  STYLE_SOLID
    #property indicator_width1  2
    
    //–– 2-14.  EMA-y 15-51 (Gradient Kolorów) ---------------------------
    
    // Ciepłe kolory (najbliżej ceny)
    #property indicator_label2  "EMA 15"
    #property indicator_type2   DRAW_LINE
    #property indicator_color2  clrRed
    #property indicator_width2  1
    
    #property indicator_label3  "EMA 18"
    #property indicator_type3   DRAW_LINE
    #property indicator_color3  clrOrangeRed
    #property indicator_width3  1
    
    #property indicator_label4  "EMA 21"
    #property indicator_type4   DRAW_LINE
    #property indicator_color4  clrOrange
    #property indicator_width4  1
    
    #property indicator_label5  "EMA 24"
    #property indicator_type5   DRAW_LINE
    #property indicator_color5  clrGold
    #property indicator_width5  1
    
    // Neutralne kolory (środek)
    #property indicator_label6  "EMA 27"
    #property indicator_type6   DRAW_LINE
    #property indicator_color6  clrYellowGreen
    #property indicator_width6  1
    
    #property indicator_label7  "EMA 30"
    #property indicator_type7   DRAW_LINE
    #property indicator_color7  clrLimeGreen
    #property indicator_width7  1
    
    #property indicator_label8  "EMA 33"
    #property indicator_type8   DRAW_LINE
    #property indicator_color8  clrMediumSeaGreen
    #property indicator_width8  1
    
    #property indicator_label9  "EMA 36"
    #property indicator_type9   DRAW_LINE
    #property indicator_color9  clrSeaGreen
    #property indicator_width9  1
    
    // Zimne kolory (najdalej od ceny)
    #property indicator_label10 "EMA 39"
    #property indicator_type10  DRAW_LINE
    #property indicator_color10 clrSkyBlue
    #property indicator_width10 1
    
    #property indicator_label11 "EMA 42"
    #property indicator_type11  DRAW_LINE
    #property indicator_color11 clrDeepSkyBlue
    #property indicator_width11 1
    
    #property indicator_label12 "EMA 45"
    #property indicator_type12  DRAW_LINE
    #property indicator_color12 clrRoyalBlue
    #property indicator_width12 1
    
    #property indicator_label13 "EMA 48"
    #property indicator_type13  DRAW_LINE
    #property indicator_color13 clrMediumPurple
    #property indicator_width13 1
    
    #property indicator_label14 "EMA 51"
    #property indicator_type14  DRAW_LINE
    #property indicator_color14 clrDarkViolet
    #property indicator_width14 1
    
    //–– 15-16. Strzałki Sygnałowe (DRAW_ARROW) --------------------------
    #property indicator_label15 "Buy Signal"
    #property indicator_type15  DRAW_ARROW
    // Kolory i szerokość ustawiane dynamicznie w OnInit
    
    #property indicator_label16 "Sell Signal"
    #property indicator_type16  DRAW_ARROW
    // Kolory i szerokość ustawiane dynamicznie w OnInit
    
    //===================================================================
    // PARAMETRY UŻYTKOWNIKA
    //===================================================================
    input group           "Ustawienia Wskaźnika"
    input double InpSensitivity      = 3.5;       // Czułość Supertrendu
    input int    InpKeltnerLength    = 9;        // Długość SMA dla Keltnera
    input double InpFactor           = 2.0;       // Mnożnik pasma
    input bool   InpShowEMAs         = true;      // Pokaż EMA-y?
    
    input group           "Ustawienia Strzałek"
    input enum InpBuyArrowColorEnum  = 'Red';     // Kolor strzałki kupna (w górę)
    input enum InpSellArrowColorEnum = 'Blue';    // Kolor strzałki sprzedaży (w dół)
    input int    InpArrowSize        = 3;         // Wielkość strzałek (1-5)
    input int    InpArrowShiftPoints = 50;        // Odległość od ceny (pkt)
    
    // Mapowanie Enum do Kolorów
    color GetColor(string colorEnum)
    {
       if(colorEnum == "Red")       return clrRed;
       if(colorEnum == "Green")     return clrGreen;
       if(colorEnum == "Blue")      return clrBlue;
       if(colorEnum == "Yellow")    return clrYellow;
       if(colorEnum == "Orange")    return clrOrange;
       if(colorEnum == "Purple")    return clrPurple;
       if(colorEnum == "Pink")      return clrPink;
       if(colorEnum == "Gray")      return clrGray;
       if(colorEnum == "Black")     return clrBlack;
       if(colorEnum == "White")     return clrWhite;
       return clrRed; // Domyślnie czerwony
    }
    
    //===================================================================
    // BUFORY
    //===================================================================
    double SupTrend[];
    double EMA15[], EMA18[], EMA21[], EMA24[], EMA27[], EMA30[], EMA33[];
    double EMA36[], EMA39[], EMA42[], EMA45[], EMA48[], EMA51[];
    // Nowe bufory dla strzałek
    double BuyArrows[], SellArrows[];
    // Bufory obliczeniowe
    double UpBand[], DnBand[], DirBuf[];
    
    //===================================================================
    // UCHWYTY EMA / SMA
    //===================================================================
    int emaHandle[13];
    int smaHandle = INVALID_HANDLE;
    
    int emaPer[13] = {15,18,21,24,27,30,33,36,39,42,45,48,51};
    
    //===================================================================
    // INICJALIZACJA
    //===================================================================
    int OnInit()
    {
       ChartSetInteger(0, CHART_BRING_TO_TOP, true);
    
       // Bufory Danych (Linie)
       SetIndexBuffer(0, SupTrend, INDICATOR_DATA);
       SetIndexBuffer(1, EMA15, INDICATOR_DATA);
       SetIndexBuffer(2, EMA18, INDICATOR_DATA);
       SetIndexBuffer(3, EMA21, INDICATOR_DATA);
       SetIndexBuffer(4, EMA24, INDICATOR_DATA);
       SetIndexBuffer(5, EMA27, INDICATOR_DATA);
       SetIndexBuffer(6, EMA30, INDICATOR_DATA);
       SetIndexBuffer(7, EMA33, INDICATOR_DATA);
       SetIndexBuffer(8, EMA36, INDICATOR_DATA);
       SetIndexBuffer(9, EMA39, INDICATOR_DATA);
       SetIndexBuffer(1
    

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.