Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/20/2025 in all areas

  1. epictetus

    Grok

    If you have a good idea, great things can happen. All the AIs I've tested take shortcuts when things get tough, for example, if you get a few errors during a comprehensive imbalance test, they switch to the simplest imbalance calculation method and won't tell you they're doing it. Therefore, you should know what you're doing, or at least understand what the code does. Grok is one of the best at this; it can even help you with reverse engineering. Most AIs won't help you even if you express permission to do so. Using free, open-source, Chinese AI tools (like DeepSeek) for trading is a bold move, to say the least. If you think that AI models trained with millions of dollars are being shared free and open-source solely for the benefit of humanity, you're naive, to say the least. If you're only going to do coding, get a Github Co-Pilot membership. It's only $10 per month. Because it runs on closed servers, there's no data leakage, and almost all AIs (openai-claude-geminini?) are available to you.
    2 points
  2. Well, I am still here, if you dont mind !
    2 points
  3. orfila

    Grok

    Anyone using Grok? I think it is the answer to a lot of dreams .... ;--) Question to Grok and answer :: "are you able to translate code to ninjatrader c#" Answer :: Yes, I can help translate code into NinjaTrader's C# (NinjaScript) format, provided you share the source code or describe the logic you want to implement. NinjaTrader uses a specific subset of C# with its own classes, methods, and conventions for trading strategies, indicators, or other scripts. If you provide the code or a clear description of the functionality (e.g., a trading strategy, indicator, or condition), I can: 1. Translate code from another language (e.g., Python, Java, MQL4/5, etc.) into NinjaScript C#. 2. Adapt existing C# code to work within NinjaTrader's framework. 3. Write new NinjaScript code for NinjaTrader based on your requirements. ### Steps to Help You: - **Share the Code or Logic**: Provide the source code you want to translate or a detailed description of the functionality (e.g., "I want a strategy that buys when RSI crosses above 70 and sells when it crosses below 30"). - **Specify NinjaTrader Version**: Let me know if you're using NinjaTrader 7, 8, or 9, as the syntax and features differ slightly (e.g., NinjaTrader 8 introduced new methods and removed some older ones). - **Clarify Script Type**: Indicate whether you need a strategy, indicator, or other script type (e.g., market analyzer, drawing tool). - **Include Any Constraints**: Mention any specific NinjaTrader objects (e.g., `Close`, `Open`, `SMA`, `Trade`) or conditions you want to incorporate. ### Example Translation Process If you provide something like this (pseudocode): ``` If 50-period SMA crosses above 200-period SMA, buy 1 contract. If price drops 2% below entry price, sell. ``` I can translate it into NinjaScript for NinjaTrader 8 like this: ```csharp protected override void OnBarUpdate() { // Calculate SMAs double sma50 = SMA(Close, 50)[0]; double sma200 = SMA(Close, 200)[0]; double sma50Prev = SMA(Close, 50)[1]; double sma200Prev = SMA(Close, 200)[1]; // Check for cross above if (CrossAbove(sma50, sma200, 1)) { EnterLong(1, "LongEntry"); } // Exit if price drops 2% below entry price if (Position.MarketPosition == MarketPosition.Long) { double entryPrice = Position.AveragePrice; if (Close[0] <= entryPrice * 0.98) { ExitLong("LongExit"); } } } ``` ### Notes: - NinjaScript has specific methods like `EnterLong`, `ExitLong`, `SMA`, `CrossAbove`, etc., which I’ll use appropriately. - If you share code in another language, I’ll map it to NinjaTrader’s equivalent methods and structure (e.g., `OnBarUpdate` for per-bar logic). - If the code involves external libraries or complex logic, I may need clarification on how to adapt it, as NinjaTrader has limitations (e.g., no direct support for certain external APIs). - If you want real-time data or external data (e.g., from X posts or web searches), I can incorporate that if you enable DeepSearch mode, but NinjaTrader scripts typically rely on internal data (e.g., `Close`, `Open`). Please share the code or logic you want to translate, and I’ll provide the NinjaScript C# equivalent tailored to your needs! Cool!
    1 point
  4. laser1000it

    Grok

    I used paid chatgpt (200 USD X MOUNTH) but I find deepseek better
    1 point
  5. laser1000it

    Grok

    if you want to waste some time try to compare with Deepseek , from my side is the best
    1 point
  6. orfila

    Grok

    I just tried it with a rank correlation index ( RCI ), I had to add some lines and a brush to the alerts but it took me less than 5 minutes from idea to working code : using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Windows.Media; using System.Xml.Serialization; grok_rci_indicator.cs
    1 point
  7. RichardGere

    S & D strategy

    Here is one from 2019. Old version I think. I just copy this Google drive link from an old post in this forum. It is 6 GB and do note that folder 1 is missing. I am not sure if the missing folder 1 was removed deliberately or not. Probably some kind of introduction. https://drive.google.com/open?id=1GWnqORT8cb27-uL12BZ0FkLKf-CVqcDP
    1 point
  8. apmoo

    orderflowlabs.com

    Thanks https://workupload.com/file/P4E44eM3bks
    1 point
  9. kimsam

    My Future Success

    Got updated 5.2v V5.2 Simple Market Metrics.txt
    1 point
  10. kimsam

    My Future Success

    New version.. V5.1 Simple Market Metrics.txt
    1 point
  11. rcarlos1947

    Grok

    I found this comment about deepseek, I didn't see any more comments on this issue. "WOLFE WAVE roddizon1978 replied to Chidiroglou's topic in Ninja Trader 8 Be carefull with Deepseek , I used it to correct this file now, I am getting problem in my Ninja editor, it embedded a file that I cannot find in the program, I think it is either a Virus or a spy files, I cannot find it, but the compiler see it. April 30 34 replies "
    0 points
×
×
  • Create New...