In attempt to create a new kind of Moving Average with some friends/colleagues (because i was a little bit tired of the classical set of MA everybody's use for the last 10 years), we've created this new one (ALMA)..
The ALMA can give some excellent results if you take the time to tweak the parameters (don't need to explain this part, it will be easy for you to find the right setting in less than hour)..
The AlMaCrossers indicator is my first attempt to build a trading bot. The logic still not finished but the indicator will signal potential entries and exits (I using it on micros and e-mini futures) that one has to assess before taking the real trade.
The indicator takes into account two other indicator types: MACD and SMA.
SMAs are 4, 8, and 15.
The algorithm will (each tick):
1. evaluate if the 4EMA has crossover the 15
2. evaluate if the MACD crossed over the signal
3. evaluate if the MACD histogram is greater than the value (parameter) specified by the user. I made this one flexible because the values vary depending on the instrument.
4. evaluate the steepness of the 4EMA which should be greater than the specified by the user.
I'm working on some other dynamic values to improve accuracy on entries and exists.
Note:
- The indicator won't generate another signal (Long nor short) until the current position is closed!
- The entry (and exit) price s plotted along with a small green (red for shorts) triangle.
- The Exit signal will plot the PnL of the trade.
Attached is a zip file the code for the indicator + helper code and the DLL for the color selections. Plus some images to help understand.
Instructions in case needed. (Please do not share outside Elite group of BMT)
1. Regular import of the assembly should work
2. In case it does not, I have included the referrence DLL in the indicator zip
3. Copy DLL in your $NINJAHOME\bin\Custom folder.
4. Add reference to "LaMarvin.Windows.Forms.ColorPicker.dll" before you compile the indicator
5. If need copy "PriceTradingZones.txt" to $NINJAHOME director (e.g C:\Users\user_name\Documents\NinjaTrader 7)
6. Compile and add indicator. Refer images
7. Add price value, tick size, pick color, opacity (0-255) and Note, if necessary
8. Click the save button
9. Reload indicator in the chart. Click anywhere in the chart when you make changes to AOB values in the band.
Thanks to Gomi/Zondor and Timmy for their help to debug serialization issue.
April 3rd, 2012
Size: 24.25 KB
Downloaded: 1563 times
1169
snp500analyst
Enhancements to GOM MP :
1. Added new SPLIT session mode, that will show AH and RTH profiles together in one chart. Works with other types as well.
2. Added Display profile levels such as Trading Session High, Trading Session Low, Mid, VPOC, Value Area High and Value Area Low
3. Added IB minutes parameter to allow you to set initial balance of your preference. IB parameter is turned off for AH session. IB won’t show if you have bar set to more than IB minutes.
4. Enhanced Developing VPOC function. Displays now straight progressing line for clear visibility.
5. Added Naked Vpoc levels with an option to display closed naked vpocs
6. Added Naked Close (GAP) levels with an option to display closed GAPS
7. Added option to display the naked level date and price level to the right panel
8. Added Summary section below the Profile that displays total profile volume with an option to format kilo, million and no formatting.
9. Added Summary section below the Profile that also display Initial Balance range and Daily range.
10. Added option to compute profiles for all bars on the chart vs on screen bars. This is important for naked levels in the past computation and display on screen without a need to squeeze the chart to naked level day.
Updated 05/21 :
Fixed IB settings for 24/7 & RTH Template;
[IB] summary level display adjustment dynamically to the top of the range.
Updated 05/22 :
Upgraded to GOMi's 4.6 version- Thanks to TimeTrade@BMT
Added a separate Pen style for dVPOC.
Updated 05/23 :
Fixed issue with the price display for currency and Bond markets
Updated 05/25 :
Added option to turn the status message off <8.13>
For this to work, additionally download and compile Hot Key Manager file from here GomHotKeyManager
Updated 05/26 :
Fixed Serialization problem for Fonts
Updated 05/27 :
Added toolbar buttons to set profile attributes.
Added option to show IB for overnight session
Added option to set color for summary text
Added option to set color for naked level text
Added option to show Continuous VA/VPOC/VWAP
Updated 05/28 :
Fixed the screen flicker issue
Updated 08/21 :
Attempt to fix performance problem reported during the RTH session start
August 21st, 2012
Size: 182.31 KB
Downloaded: 10966 times
1194
snp500analyst
Hi,
The attachment contains 4 lists with tickers of the AMEX, ARCX, NASDAQ and the NYSE.
Importing these lists into Ninjatrader 7b16 will solve the problem that since NT7 it does no longer recognize tickers on the fly and gives an error if any stock ticker is entered that is not already in the instrument list.
Import a list goes as follow:
File->Utilities->Import Stock Symbol List
Select the correct exchange from the list and import the list. Please note, this can take a very long time.
Description:
Plots the developing range (high-low) for a given time interval on any chart and allows this range to be plotted on any other chart.
Usage:
The ELD contains 2 indicators that rely on ADE and EL Collections to do their job.
AnyRangeAnywhere(S): This indicator can be plotted on any chart and it will plot the developing range based on the start and end times input specified by the user. At the same time, it will copy the range values in memory using ADE and EL Collections. (S) stands for "sender".
AnyRangeAnywhere(R): This indicator reads the range plotted by the indicator above and plots it on any other chart. (R) stands for "receiver".
The indicators allow the range to be named so that multiple ranges can be plotted differentiated by their unique names specified by the user.
Works on the following chart types:
AnyRangeAnywhere(R):
Time Only. It might work on the other chart types but it might be inaccurate.
AnyRangeAnywhere(S):
Any chart - time, tick, volume, range etc.
Input Parameters:
For session start times, use the bar time of the first bar in the session. This would vary depending upon the interval of the time chart. For instance, for CL, in a 1 min chart, the first RTH session start bar would be 801 whereas in a 5 minute chart, the first bar would be 805.
AnyRangeAnywhere(S):
ORStartTime- Time in HH24MM format (eg: 0800 for 8 AM and 1600 for 4 PM) specifying the range start
OREndTime- Time in HH24MM format (eg: 0800 for 8 AM and 1600 for 4 PM) specifying the range end
PlotEndTime- Time in HH24MM format (eg: 0800 for 8 AM and 1600 for 4 PM) specifying how long to plot the ranges in an intraday chart
ADEClassName- A unique name that identifies this range. When this indicator is plotted more than once, this input value must be unique to each plot
AnyRangeAnywhere(R):
ADEClassName- A unique name that identifies the range to plot. This should match (case-sensitive) to the value of this same input specified in the sender.
ADEInterval- Specify the data interval for the sender chart. If the sender chart is a 5 minute chart, specify 5.
ADESymbol- Specify the symbol of the sender chart or use the default if the symbols are the same. This option is there to allow calculating the range on a continuous contract symbol, for instance, and then plotting it on a specific contract month symbol.
February 15th, 2014
Size: 62.88 KB
Downloaded: 545 times
1519
LogicalTrader
As a Multicharts user, I am not too happy with their market replay functionality which got left behind in terms of integration with some more exotic features MC has released. For example, while in play-back you cannot place trades on the chart.
Consequently, my way to practice off-line sim-trades is just by scrolling a chart back to its first page of bars, and progressing the chart bar by bar to the right. I usually place arrows to mark entry/exit points in the market, and I do scale out.
It would be great to have an indicator (let's say), that would read the arrows I place on the bars and issue entry/partial exit/exit decisions that I could later analyze in Multichart's performance report.
Potential solution:
- Build such an indicator as described above (able to read some custom drawings such as arrows and issue signals)
Build such an arrow-reader indicator, which does:
- Read all arrows one by one, and enters long/short, depending on arrow orientation;
- Size is given by the number placed on the text attribute of the arrow
- The program can scale out - let's say, one enters long with 3 contracts and has 3 sell orders for 1 contract each later on.
June 5th, 2014
Size: 26.31 KB
Downloaded: 282 times
1557
andby
v0.1.05 Introduction:
AskTheChart is an experimental AI-powered indicator that showcases the use of a large language model to enhance trading strategies and analysis using agents. Traders can interact with their charts by asking questions such as, 'What is the current trend?' They can give commands like 'Draw horizontal line at the $1500 level,' or instruct the agent to highlight an area on the chart. It's important to note that this is experimental and intended to complement, not replace, traditional trading analysis and strategies. Its main purpose is to demonstrate the potential applications of AI in trading.
How to Use:
AskTheChart adds an interactive button 🤖 on the chart toolbar. When clicked, it opens a chat window where you can ask questions or give commands. The AI agent understands your queries and responds accordingly. To configure the indicator, go to the indicator settings and enter the required OpenAI/Azure URL, API key, and Model. You can also set the maximum number of bars allowed for the agent context window.
We utilize ChatGPT functions for tool-switching, requiring the use of one of these Models.
gpt-3.5-turbo-0613
gpt-4-0613
0) Indicator settings
URL: https://api.openai.com/v1/chat/completions
API Key: Your OpenAI API key
Model: gpt-4-0613
If you are using Azure OpenAI, the model's name should match the one defined in your deployment, and the required model version is 0613
gpt-4
gpt-3.5-turbo
0) Indicator settings
URL: https://{name}-east-2.openai.azure.com/openai/deployments/gpt-4/chat/completions?api-version=2023-07-01-preview
API Key: Your OpenAI API key
Model: gpt-4
Cost Implications:
Please note that using AskTheChart involves making requests to the OpenAI API. These requests are subject to OpenAI's pricing structure, which means that usage of AskTheChart may incur costs. Users are responsible for these costs and should review OpenAI's pricing details before using this indicator.
Challenges:
There are numerous tools and libraries available for developing with LLMs. However, integrating them into NinjaScript without relying on DLLs is a significant challenge. NinjaScript employs C# 5.0, which is considered somewhat legacy and lacks many modern features. While it's possible to work around this limitation using compiled assemblies, I opted for an open-source approach to maintain accessibility.
Change Log:
NT8 AskTheChart by pixel @ nexusfi.com, Version 0.1.0, released 10/19/2023 NT8 8.1.1.7 64-bit
10/22/2023 v0.1.01 - Fix: model variable missing
10/22/2023 v0.1.02 - Removed duplicate declarations
11/14/2023 v0.1.03 - Removed delay for faster function calling
11/14/2023 v0.1.04 - Fix: error when using dynamic type
11/20/2023 v0.1.05 - Style: show api response errors in the chat
I'm eager to discover additional applications for LLMs in trading and explore their use in my own strategies, as well as in others. You can find the discussion here.
Hello, everyone! I hope you're all doing well. Although I've been a dedicated reader for a while, this is my first time contributing. I'm excited to share this AI indicator with you.
March 23rd, 2012 02:31 AM jwdixon Thanks! great to have such control on a moving average of some kind, great work!
April 15th, 2010 08:35 PM greathopes Very smooth operator. Kind thank yous.
April 11th, 2010 11:01 PM Velocity hmmmm.... "can give some excellent results if you take the time to tweak the parameters " sounds like curve fitting.
March 23rd, 2010 01:05 PM Poocher This is better than Jurick for me just using the default settings on range bars.
February 25th, 2017 12:27 PM essiar Not sure what I am doing wrong here, I have imported .cs files previously. I am trying to install ALTOGomMP.cs. I alread
y have GomCD, GomCDSMA_UpDown, GomDeltaVol_UpDown and GomRecorderIndicator in my list of indicators. I keep getting erro
r msg CS0246 which states there is a dll file missing. So when I try to install GomMP2.1 I get an error msg stating I ha
ve custom ninjascript files on my pc that have programming errors. So I delete ALTOgom.cs from the bin. I go to import G
omMP2.1 again and I get another error msg saying Archive may contain duplicate method names that already exist or there
is a required file missing. I have been using Ninja for 10 years now and have never run into this issue. Suggestions?
October 13th, 2016 03:28 PM CoCo
August 7th, 2016 07:37 AM dalebru Outstanding, thanks to both you and gomi.
December 20th, 2023 01:07 PM ballhaj Excellent !!!!
December 4th, 2023 07:45 PM topdogtony Hello - you did a fantastic job on this indicator I use it on the 5 min chart, if I can make a suggestion or 2, 1st reg
arding the alert can you code the ability to use alert of choice. 2nd can you include as an extra confirmation signal a
n RSI and Divergence? Sorry if I'm asking too much you already have done a great job-------Thank you.
September 1st, 2023 05:30 PM sunshnpeg
June 25th, 2022 06:09 AM alesiosc
January 10th, 2022 01:33 PM daytrader2021 This is by far the best indicator I have downloaded from this site. Only ask would be a way to move the text out of the
way without going to properties. Outside of that love it.
February 28th, 2024 06:35 AM Darvish Is this working for anyone?
February 11th, 2024 10:16 AM slim_pikins Is there an API for Bard (now Gemini)>
December 9th, 2023 09:07 AM minicantrade Downloaded the indicator joined Azure api --and the indie doesnt even show up on my list so I am a little lost and have
no idea what I am doing some help would be good LOL thanks
November 30th, 2023 04:15 PM Realtimetrader Thanks
October 31st, 2023 09:10 PM Icarus1 Failed to import.