The Multiple MA Cross indicator plots a fast and a slow moving average and colors the area between the two moving averages. Both the fast and the slow moving average may be selected from a collection of over 30 different moving averages.
The indicator is primarily designed as a trend filter to show whether the market is in an uptrend or in a downtrend. The indicator comes with two different trend definitions - cross and thrust. The trend is exposed as a double series and can be accessed via the NinjaTrader strategy builder or the market analyzer. Directly accessing the trend via the market analyzer requires a separately coded market analyzer column, which is not yet included with the install file.
Trend definition "MA Cross": The current trend changes to "uptrend" when the fast moving average crosses the slow moving average from below. The current trend changes to "downtrend" when the fast moving average crosses the slow moving average from above.
Trend definition "Thrust": The current trend changes from “downtrend” to “uptrend” with the first bullish thrust bar that plots above the upper moving average. A bullish thrust bar is a bar that closes above the prior bar’s high and has a larger range than the prior bar. The current trend changes from “uptrend” to “downtrend” with the first bearish thrust bar that plots below the lower moving average. A bearish thrust bar is a bar that closes below the prior bar’s low and has a larger range than the prior bar.
Moving averages available as fast and slow moving average:
- Adaptive Laguerre Filter
- ADXVMA
- Butterworth Filter
- DEMA
- Distant Coefficient Filter
- Double Weighted Moving Average (DWMA)
- Exponential Hull Moving Average (EHMA)
- EMA
- Gaussian Filter
- HMA
- Holt EMA
- Laguerre Filter
- LinReg
- Moving Mean TPO
- Moving Mean VWTPO
- Moving Median
- Moving Median TPO
- Moving Median VWTPO
- Range Weighted Moving Average (RWMA)
- Sine Weighted Moving Average (SWMA)
- SMA
- SuperSmoother
- TEMA
- Tillson T3
- TMA
- Triple Weighted Moving Average (TWMA)
- VWMA
- Wilder's Average
- WMA
- ZerolagHATEMA
- ZerolagTEMA
- ZLEMA
Applying the Multi MA Cross to indicators: The Multi MA Cross is designed to be applied to other indicators which may be selected as input series. However, some of the moving averages listed above will not support this feature. In case that a selected moving average does not support the feature the indicator will display an error message asking you to select a different moving average for the fast or the slow moving average. These are the moving averages that may not be selected when an indicator is chosen as input series: Mean TPO, Mean VWTPO, Median TPO, Median VWTPO, RWMA, VWMA, ZerolagHATEMA. These moving averages may only be applied to price.
Paint Bars: The MultipleMA Cross indicator comes with paint bars. The paint bars are colored according to the trend, where the trend maybe determined via the "MA Cross" or the "Thrust" option. The paint bars may be displayed without the indicator plots.
MurrayMathAltButtons.EFS (eSignal)
Older indicator by Chris Kryza still works great!
README for MurrayMathAltButtons.EFS
Current Version 3.3.0 - 04/28/2003
NOTE!!!!:
This script was developed and tested using the features available in:
eSignal Release Candidate 7.2
Build 541
Dated: 01/21/03
If you are using an earlier eSignal version, it is possible and even
likely that errors will be generated when you attempt to use this
script.
also... this particular release (3.2.0) makes use of the new features
available in Beta 566. If you don't have this Beta, don't worry and
the script will run just fine under an earlier version (as long as
your version is 7.2 Build 541 or greater!).
[INTRODUCTION]
If you are currently using an older version of this script, please
completely unload (i.e., the Remove option in the chart pop-up menu)
the old script from your Advanced Chart Template and then load this
new version. If you don't completely remove the old version first, then
any new parameters that have been added will not show up and errors will
likely be generated.
This script does a fairly good job of creating Murrey Math lines
in an eSignal chart. It is based on the work of Tim Kruzel found in
the public domain and, as tested, the numbers seem to match up with
Tim's AMM frame calculator program. The biggest recent addition is
the button feature which allows you to quickly change parameters
without going into the Edit Studies dialog.
Version history is available at the bottom of this ReadMe.
For information on Murrey Math please go to Murrey's web site
at www.murreymathtrading.com.
[KNOWN ISSUES]
Buttons - If you use the Buttons option (where buttons display on
the screen so you can quickly change frame size, etc.) you must
double-click on the buttons for the screen to refresh properly. Eventually
I will figure out how to make it all work with a single-click.
Frame Size - Size of 4 removed as an option and size of 8 added.
When using this script with Intraday bars there is a small issue with
grid alignment as the very first bar of the day is forming. For example,
if you load a 5-min chart with this script at 9:00am EST the last bar
displayed will be yesterday's closing bar (assuming you have a time
template that restricts display to market hours). The grid alignment
will be correct. At 9:30am, the market opens and the first 5-min bar of the
new day will begin to display. You will notice at this time that the Blue
start-of-frame vertical line will be (incorrectly) shifted one bar to the
right. The solution is to simply right-click in the chart and choose the option
at the bottom of the pop-up menu to reload the MurrayMathAlt.EFS script.
The script will then realign and you should have no further problems. This
issue only comes into play as the first bar of the day is forming and will
automatically correct itself after the first bar has completed. So, if you
are trading 1-min bars you probably won't even notice it, if you are trading
15-min bars then you should probably do the 'refresh' as described above. This
is on my short-list of things to fix.
[NOTES]
When using this script with Daily bars, the start-of-frame value
is based on the date of October 2, 2002 which I believe is the
correct value. This date will need to be changed each year (it is
one of the script options discussed below).
When using this script with intraday bars, the script will use the center-
point of the day (11:58am) to calculate the vertical time bars based upon
the frame size that is currently being used.
Intraday operation is probably best if used with an eSignal time template
that only displays bars during market hours (i.e., 9:30am - 4:00pm EST)
(4:15pm for Futures). This will force the MM calcs to skip the pre- and
post-market data. If, however, you wish to use this script with all sessions,
I see no reason why it wouldn't work for you.
[INSTALLATION]
Copy the EFS script file into one of your Formula Folders. Formula Folders
are typically found at C:\Program Files\eSignal\Formulas. You can copy it into
any of the available folders (e.g., BuiltIn, Helpers, Downloads, etc.).
The actual EFS file is heavily commented so if you have questions just load the
EFS file into the eSignal Formula Editor and review the code.
[SCRIPT OPTIONS]
Several options can be adjusted from within the eSignal Study Properties
window.
frSize: Frame Size. This can be set to 8,16,32,64,128 or 999 for AutoFrame. Default value is 64.
frOptIncrement: Optimum 1/8th Increment Size: This only comes into play if the frSize option is set to
999 which activates the AutoFrame feature. The AutoFrame feature attempts to find the
MM frame size that has 1/8th increments that most closely match the value that you set
in frOptIncrement. For example: When daytrading the S&P EMini, a 1/8th increment size of
2 ES points would be nice. To accomplish this, set the frSize option to 999 and then set
the frOptIncrement to 2.0. This will force the script to evaluate all frames sizes (e.g.,
8,16,32,64 and 128) and it will pick the one that results in 1/8th increments closest to
our 2 points.
frMult: Frame Multiple: This can be set to 1, 1.5 or 2. Default value is 1.5.
frIgnoreWicks: Ignore the wicks when computing High and Low prices. This can be set to 0 (don't ignore wicks) or
1 (ignore wicks). Default value is 1 (i.e., ignore wicks)
frSpeedUp: Draw (bot to top) speed lines in current price/time square. This can be
set to either 0 (don't draw) or 1 (draw). Default is 0.
frSpeedDn: Draw (top to bot) speed lines in current price/time square. This can be
set to either 0 (don't draw) or 1 (draw). Default is 0.
frMomUp: Draw (slanting upward) 45-degree momentum lines within the current price/time
square. This can be set to either 0 (don't draw) or 1 (draw). Default is 0.
frMomDn: Draw (slanting downward) 45-degree momentum lines within the current price/time
square. This can be set to either 0 (don't draw) or 1 (draw). Default is 0.
frCircles: Draw the circles on the chart. This can be set to either 0 (don't draw them)
or 1 (draw them). Default is 1.
frRightMargin: Max number of bars to extend to the right when creating a new Price/Time
square. The purpose of this option is to conserve screen space when a new
square is created. This can be set to any integer value. The default value
is 15. Note: no error checking is done so if you type in a non-numeric value
the script will likely generate an error. This feature now works with both
intraday and daily charts (previously was intraday only).
frStartDate: Base date for calculation of non-intraday frame start. Default setting is
October 2, 2002. This will need to be changed each year. Note: You must type
in the complete date (i.e., October 2, 2002 or April 4, 2000, etc.). NOTE:
frStartDate MUST be an actual trading day (e.g., not a Sat, Sun or holiday).
frUseButtons: Display buttons on the chart that allow you to quickly change frame sizes and
also to draw speed and momentum lines. This can be set to either 0 (don't display
buttons) or 1 (display buttons).
frTimeLines: Draw the vertical time lines on the chart. This can be set to either 0
(don't draw them) or 1 (draw them). Default is 1.
frBaby8: Draw lines and prices at mid-point of MM lines (e.g., Baby Eighths). This can be
set to either 0 (don't draw them) or 1 (draw them). Default is 0.
frVertColor: Draw the vertical time lines using the standard 8th colors or draw them as
grey lines. This can be set to 1 (use colors) or 0 (don't use colors). Default
is 0.
So, an example completed Edit Studies window would look like this:
frSize: 64
frOptIncrement: 2.0
frMult: 1.5
frIgnoreWicks: 1
frSpeedUp: 0
frSpeedDn: 0
frMomUp: 0
frMomDn: 0
frCircles: 1
frRightMargin: 10
frStartDate: October 2, 2002
frUseButtons: 1
frTimeLines: 1
frBaby8: 0
frVertColor: 0
Comments, bug reports, etc. should be posted in the EFS Studies Bulletin Board area
on eSignal Central or sent to me directly at [email protected].
Thanks.
Chris Kryza [email protected]
This volume indicator is based on Gail Mercer's article in the Sept. 2012 issue of TASC. It colors the volume bars based on whether the price bar is an up, down, outside, or inside price bar.
The logic is as follows:
- Up bar = current high > previous high and current low >= previous low (green vol bar)
- DownBar = current high <= previous high and current low < previous low (red vol bar)
- OutsideBar = current high > previous high and current low < previous low (gray vol bar)
InsideBar = current high <= previous high and current low >= previous low (transparent vol bar)
This indicator is no longer maintained. Please download the new Range Analysis indicator, which identifies inside bars, narrow range bars, outside bars, wide range bars and LBR triangles.
This is my personal version of the narrow range and inside range bars, which were first presented by Toby Crabel in his book "Day Trading With Short Term Price Patterns and Opening Range Breakout".
Narrow Range 7 (NR7) Bar: A bar which has a smaller range than the preceding 6 bars. This definition does not include any bars that have a range smaller or equal to the preceding 6 bars.
Inside Range Bar: A bar with a lower or equal high, a higher or equal low and a smaller range than the preceding bar.
Inside Range 4 (IR4) Bar: An Inside Range Bar which qualifies as weak Narrow Range 4 Bar. Only for the purpose of qualifying Inside Range Bars, I use a weaker definition for Narrow Range Bar, which includes the bars that have a range smaller or equal to the preceding 3 bars, as opposed to the definition given above.
Inside Range 7 (IR7) Bar: A bar which is both a Narrow Range 7 and an Inside Bar.
The lookback periods for the Narrow Range and Inside Range Bars can be selected by the user. The default values are 7 and 4 and include the current bar.
Sound File: The sound file is user selectable. You first need to copy your sound file to the directory C:\Program Files\Ninjatrader 7 \sounds. You can then select the file via the indicator dialogue box. Make sure that your sound file is compatible with NinjaTrader. NinjaTrader 7 does not support wav\MPEG, you need to convert it to wav\PCM first with an audio recorder.
Note: If you find bugs, have feature requests, or anything else, post in THIS thread.
Fractals are a common bar pattern, created in a consecutive 3-bar series, where the bar in the middle is higher than the two on either side. This creates a fractal high.
In this indicator, that is created by what I have labeled as "Level 1." (see properties section in image).
This indicator also creates FRACTALS OF FRACTALS. So that means, if a Level 1 fractal exists, and has a LOWER Level 1 fractal on both sides of it, it creates a Level 2 fractal high.
This is done up to Level 5, and creates a series of swing points.
The indicator can display dots or numbers.
The parameter labeled "show triggers" shows an arrow with the corresponding color, WHERE on the chart the most recent fractal swing was actually confirmed. I.e., a Level 1 fractal high is confirmed at the END of the third bar.
The marker offset simply raises the marker text higher or lower above the bar.
I dunno what use this has, but is one of the experiments I have laying around, so thought I'd post it?
NOTE: Installing this indicator will create a folder called "BTMM," that's where the indicator will be.
This is a simple indicator, which detects new highs and lows. The highs and lows can be shown both as paintbars or as diamonds.
The definition of a new high can be either based on the bar high or the bar close. A new high based on the bar high is the highest high over the lookback period. A new high based on the bar close is the highest close over the lookback period. The same logic is applied to new lows, which can also be calculated from the bar lows or the bar closes.
With default settings the bar detects new 89-bar highs and lows.
The indicator works on both candlesticks and OHLC bars.
Update August 10, 2013: New highs and lows can be either based on high/low or on the close of the current bar. Highs and lows can be either shown as paintbars or as diamonds. Efficiency of algorithm improved.
This indicator downloads news from forexfactory and display's it on your chart.
News is displayed in the upper left corner and is also shown as vertical lines on your chart.
You can choose if you want to show low, medium and/or high impact news
The time used is GMT. you can set a time offset in hours to adjust it to your own timezone
Furthermore you can ignore news for specific currencies (see the forex calendar). e.g. NZD will hide any NZD related news
30-10-2018: v1.1
- added option to hide the topleft table
- fixed bug that newsindicator disappeared after restarting ninja
September 28th, 2018
Size: 3.32 KB
Downloaded: 1447 times
1998
erwinbeckers
February 7 2014
version 1.3
Added a close position button and renamed flatten button to flatten account to be more precise.
////////////////////////////////
February 6 2014
version 1.2
Fixed a minor bug where it would not save button colors in settings when loading up new charts with script.
///////////////////////////////////////////
February 5 2014
version 1.1
First a big thanks to vvhg & Xav1029 for some awesome scripts and great ideas which I added to mine.
I completely rearranged the chart trader removing buttons I never use. The ONLY buttons left from the original panel are Buy & Sell Market. Those are the only two which will engage the ATM strategies.
In the custom strategies & entries I added break even +1 and nudge stop to previous low or high, both which will adjust stops accordingly once in a position. The flatten button will get you out of all positions in every chart.
The trail button will engage once pressed if you are in a position and trail via an EMA or SMA. Anything goes wrong the flatten button will get you out and cancel everything. Still doing more testing for bugs.
A nice added feature is the green box below the current profit/loss display, which will tell you the spread from level 2 data and cumulative bid and ask volumes. The box color will change from green to yellow to red if spread gets too large.
This script is still in beta, trade at your own risk. It should show you how easy it is to customize the chart trader to your liking. Sky is the limit in terms of juggling buttons and adding new stuff.
enjoy
/////////////////////////////////////
A big thanks to all the contributors.
Unsure where I originally found this script. I modified it to add two buttons to chart trader for entering buy and sell stops.
It will do so 1 tick above or below the bid/ask. It will insert an 8 tick stop loss & target. If you go on indicator settings and put the ticksTarget to 0, it will only add a stop loss to position.
Hope this helps some of you.
PS. Wishing NT8.0 will eventually let us add/modify ATM within an indicator.
February 5th, 2014
Size: 10.04 KB
Downloaded: 1242 times
1511
alexJetski
Signal name = "NWT Exits" Ver 4
Disclaimer - USE AT YOUR OWN RISK
"NWT Exits" is a suite of exits that can be combined into a system.
It has been tested on Forex and Futures data
Features of the suite are -
1) The whole suite can be applied to a specifically named strategy ie I may have a strategy called "XYZ" if this "UseStrategyName" is set to true
and the StrategyName = "XYZ", then the suite of exits will only work with this strategy.
This allows multiple strategies to be used on the one instrument
2) Will work on any instrument tick size ie increments of 0.00005 to increments of 1
3) All Stops are progressive, that is, the system will move from a InitialStop to a breakeven to a trailing stop.
4) Only ONE order is placed with the broker.
5) The chart dynamically displays the current stop type ie InitialStop, Breakeven, Trailing and also displays the current stop level (Green/Red Triangle)
6) Each of the trades on the chart has a number matching the trade list report in Multicharts
7) Each of the trades in the Exits in the Multicharts Trade log has it's own unique name, showing what the current exit was that closed the trade
ie "IS_LX" Initial Stop (StopLoss) exit
"TS_SX" Trailing Stop Short Exit
Because each of the exit orders has it's own unique name, further analysis (counts) can be done on how many exits
were InitialStop, Breakeven, trailing stops, big bars etc
8) Each of the Stop types maybe individually enabled or a combination maybe selected
The types of exits currently supported are -
1) Multicharts generic types ie setprofittarget,SetStopLoss,SetDollarTrailing but all with tick/point inputs not $$$
2) Forced Exits - Ie Exit after 3 bars. This is useful for testing how good your entry signal is.
Use this exit without any other exits. If you have a good entry, youshould have > 50% winners
Now look at the MAE to see where good InitialStop levels are
3) InitialStop (StopLoss) Exit - ie 15 Pips or a calculated vale ie "ATR(14)*1.6*10000"
4) Price Action Stop - In a Long position it would use say the lowest low of the last 3 bars plus a bit ie 2 pips.
5) BreakEven Stop - Set the breakeven Level and brokerage amount
6) Stall Exit - Say after 3 bars we are still not in a profit, lift the stop to the low of the current bar. ie Squeeze the non performing trade.
7) Nake Close Stop - If Long and the close > High[1] then the stop level is set to the low of the naked close bar.
8) Trailing Stop - This is a stop amount in ticks ie in Forex a value of 5 would be equal to 5 pips ie 0.0005.
As per the InitialStop a calculated value can also be used ie "ATR(14)*1.6*10000"
9) ADX Trailing Stop - this uses a ADX to influence how close to have the stop level.
As the ADX increase with the strength of the trend, the stop tightens on the price
10) Big Bar Stop - If a big bar is detected ie 2*ATR, then the stop level is adjusted to a percentage of this bar ie 50%
We want to keep a god chunk of these profits.
Neil.
P.S.
For a couple more pics showing the trade log and further analysis,
look at Further details
June 22nd, 2011 12:39 PM rfiske Fat Tails > Could this be modified to paint the entire bar and wick a solid (selectable) color? know your VERY busy wit
h many other projects - but maybe someone else could have a go at it!
Again thanks for all your MANY great contributions to BMT! not trying to butter you up - but! LOL
June 13th, 2011 05:35 PM tony2604 Great!
May 21st, 2011 09:29 PM rfiske Another Really great indicator from Fat Tails! Works just great.
Thanks
May 1st, 2011 08:28 PM AttitudeTrader Thanks for putting this together man! Works great (I'm using the text rather than the diamonds).
November 5th, 2019 09:05 AM zoticus Has anyone done anything similar for NT8 ?
July 6th, 2016 03:37 PM Kees66 Thank you!!!!
April 14th, 2016 11:00 PM 2bwize I Love this! Than You!!
February 14th, 2015 04:55 AM Bvend Excellent, thank you. Is there a possibility to make the sell stop work with defined ticks as the buy stop, because in s
im that I tested it in sell stop it throws the order on the current bar not on the previous.
July 1st, 2014 09:16 PM traderlange Brilliant indicator. I've added automated profit targets and loss params. I'm also adding a ton of trails and stop strat
egies. I'll send it to you when it's all good to go.
September 1st, 2014 02:07 PM crs247 Thank you very much for sharing your work.
August 13th, 2014 07:57 PM stargazer55 Very interesting indicator, just started using it.
August 9th, 2014 10:14 PM Zondor Good idea, but a resource hog because of "inline" calls to DM indicator on every incoming tick. This is a horrible way t
o code as discussed in "hints for optimizing C# code" thread a few years ago.
August 9th, 2014 06:59 PM landlady54 thanks for a fantastic indicator; works well
October 17th, 2020 08:37 PM WilTruelove Hi bro! thank you for posting!! By the way, I couldn't find ^add index for breathing market, do u have something similar
?
Thanks a million
WB
September 4th, 2019 07:59 PM aminkovich69550 I have an issue with this indicator. After installation I don't see it on my list of indicators even though installation
was completed without error.
I was trying to delete that custom Ninja Script assembly and reinstall it again(just in case) but did see on in the list
January 23rd, 2021 02:22 PM shaisamuel Thanks, it looks great. I would love to test it using BloodHound, But for some reason BH doesn't see it, any idea why?
Thanks a lot for sharing.
December 14th, 2020 12:24 PM Buscador Many Thanks.
I'll test it since it is new for me and don't know how it'll work on Range bars.