NexusFi: Find Your Edge


Home Menu

 



Categories Help    






Search Results
Submitted by Xav1029
Found 8 matching entries

Sort by

Entries
Reversal Bars 5 *
This is my first shot at a custom bar type, so please report any issues in the discussion thread: https://nexusfi.com/elite-circle/26005-reversal-bars.html

Bar Logic
-When a new bar is formed, price must move "Direction Size" ticks to establish a bar direction.
-Once a direction is established, if price pulls back "Reversal Size" ticks, a new bar is formed.
-The previous bar does not include the final reversal tick. The final reversal tick forms a new bar.
-The opens and closes of bars are actual ticks. No fake opens or closes.


If you prefer the version that requires Reversal Size to be breached, change:

 
Code
//reversalSize = bars.Instrument.MasterInstrument.Round2TickSize(bars.Period.Value * bars.Instrument.MasterInstrument.TickSize);    //This gives you tips of Reversal Size
reversalSize = bars.Instrument.MasterInstrument.Round2TickSize((bars.Period.Value - 1) * bars.Instrument.MasterInstrument.TickSize);    //This creates a new bar on Reversal Size
to:
 
Code
reversalSize = bars.Instrument.MasterInstrument.Round2TickSize(bars.Period.Value * bars.Instrument.MasterInstrument.TickSize);    //This gives you tips of Reversal Size
//reversalSize = bars.Instrument.MasterInstrument.Round2TickSize((bars.Period.Value - 1) * bars.Instrument.MasterInstrument.TickSize);    //This creates a new bar on Reversal Size
Log:
- 10/27/13 : Fixed code causing issues in market replay. Thanks @devdas.


Category The Elite Circle 
 
Suggest other entries I might like
Details: Reversal Bars
Category: The Elite Circle 


February 22nd, 2013
Size: 1.85 KB
Downloaded: 1178 times
XavMTF - Multi-Timeframe Indicator 5 *
Pretty much, this indicator will create a MTF version of any indicator with 6 plots or LESS. In the indicator parameter just type in the name of the indicator you want with all the parameter exactly as it appears on a chart(excluding the input series). Choose your time frame and you are done

Debugging Thread: https://nexusfi.com/elite-circle/24875-xavmtf-debugging-optimization-thread-multi-time-frame-indicator.html

Enjoy

Current Version: V1.2


Category The Elite Circle 
 
Suggest other entries I might like
Details: XavMTF - Multi-Timeframe Indicator
Category: The Elite Circle 


December 30th, 2012
Size: 5.34 KB
Downloaded: 1220 times
XavPriceActionTrend V2 5 *
This indicator identifies different market phases based on price action.

Phases
1. Up-Trend: An up-trend is a confirmed range breakout to the up-side, a consolidation continuation, or a down-trend that pulls back Initial Range ticks over n-Periods.
2. Up-Trend Consolidation: An up-trend consolidation period is when a new trend high has not been set in Consolidation Periods, but price has not pulled back Pull-Back Ticks.
3. Up-Trend Pull-Back: An up-trend pull-back is when price has moved down Pull-Back Ticks from the trend high. If price pulls back Initial Range ticks over n-Periods, the market is considered to be in a new down-trend.
4. Up-Trend Breakout: An up-trend breakout is when price moves Breakout Ticks above the current range high. If price remains above the range high for Confirmation Periods, the trend is considered an up-trend.
5. Upper Range: If the current range is at least Tradeable Range wide, and price is in the upper Range Percentage of the range, the market is in the upper range phase.
6. Range: The market is ranging if price is consolidating OR pulling back, BUT has not broken out of the previous high or low n-Periods from that high or low AND price has not moved Initial Range ticks over n-Periods in the same direction as a pull-back.
7. Lower Range: If the current range is at least Tradeable Range wide, and price is in the lower Range Percentage of the range, the market is in the lower range phase.
8. Down-Trend Breakout: A down-trend breakout is when price moves Breakout Ticks below the current range low. If price remains below the range low for Confirmation Periods, the trend is considered a down-trend.
9. Down-Trend Pull-Back: A down-trend pull-back is when price has moved up Pull-Back Ticks from the trend low. If price pulls back Initial Range ticks over n-Periods, the market is considered to be in a new up-trend.
10. Down-Trend Consolidation: A down-trend consolidation period is when a new trend low has not been set in Consolidation Periods, but price has not pulled back Pull-Back Ticks.
11. Down-Trend: A down-trend is a confirmed range breakout to the down-side, a consolidation continuation, or an up-trend that pulls back Initial Range ticks over n-Periods.

Parameters
Periods, Initial Range, Tradeable Range, Pull-Back Ticks, Breakout Ticks, Confirmation Periods, & Consolidation Periods: See Above Description
Color Outlines: Colors candle outlines according to the current phase.
Range Lines: Draws lines at the current range high and low. Note: This indicator updates the highs and lows based on price action. These lines could move in real time.
Range Zone: Draws a Range Color rectangle during ranging periods from the current range start period to current bar,
Zone Opacity: Opacity of the Range Zone rectangle.

Message Parameters
Phase Message: Draws a text box with the current phase in the in the selected position.
Message Position: Positions phase message in desired corner. 1=Upper-Right, 2=Lower-Right, 3=Lower-Left, 4=Upper-Left
Message Font: Font used for phase message.
Font Size: Font size used for phase message.

MTF Parameters
MTF: If true, a custom MTF data-series is used to calculate market phases.
Periods: Periods or value of custom MTF input series.
Period Type: Type of periods used for custom MTF input series(Day, Minute, Range, Second, Tick, or Volume).

Colors
-The colors for the 11 market phases can be set by the user.

Please visit the discussion thread for a sample MTF template.

Discussion Thread:https://nexusfi.com/elite-circle/23149-xavpriceactiontrend-discussion.html

Enjoy

Change-log:
9/16/12 - V1b released. Added Range Zones and Phase Message. Fixed 1 bar lag for range.
9/17/12- V1c released. Fixed pull-back to new trend bug.
9/22/12- V2 released. Added MTF capabilities. Made range max and min public dataseries. Made message customizable.


Category The Elite Circle 
 
Suggest other entries I might like
Details: XavPriceActionTrend V2
Category: The Elite Circle 


September 22nd, 2012
Size: 10.78 KB
Downloaded: 2130 times
XavGlassBoxV1
This indicator is used to analyze the effectiveness of simple automated strategies. The GlassBox dynamically monitors the maximum favorable excursion (MFE) and maximum adverse excursion (MAE) of a recent sample of trade signals produced by those strategies. By manipulating the Target %Profitable, Minimum MFE, and Minimum MFE/MAE variables, the user can then determine which strategies' trade signals are plotted on the price chart.


The Strategies

The strategies tested by the GlassBox are based on eight signals. Four of the signals are "fast" signals; four are "slow" signals. Each of these eight individual signals is itself a strategy, and by combining each fast signal with each of the four possible slow signals an additional sixteen combination strategies are generated.


Signal Inputs

Each of the eight basic signals has five potential inputs.

1) Indicator: The name of the indicator, with its parameters in parentheses.

2) Plot: If the indicator entered in (1) has multiple plots, the name of the plot used for the signal is entered here.

3) Slope Signal: If set to "true", the slope of the indicator plot selected in input (2) is used as the signal. A positive slope will trigger a long position, a slope of zero will signal a flat market position, and a negative slope triggers a short position.

4) Price Cross: If set to true, a long position will be triggered when price crosses above the indicator plot chosen in input (2). If price crosses below the indicator plot a short position will be triggered.

5) Cross Value: If neither the slope signal approach nor the price cross is chosen, the final option is the value cross. When the indicator plot chosen in input (2) crosses above the Cross Value a long signal is generated; when it crosses below a short signal fires.


Strategy Analysis Parameters

1) Trade Memory: The number of trades stored in memory for each strategy.

2) Minimum Bars: The minimum number of bars a trade must be active before it is stored in memory.

3) Target %P: The target percent profitable desired by the user. This is the percentage of the trades stored in memory that reach the Target MFE without going beyond the Target MAE.

4) Slippage: The slippage in ticks per turn used to adjust the Target MFE and Target MAE calculations.


Strategy Plot Parameters

1) Min MFE: The minimum Target MFE that a strategy must reach in order to be plotted.

2) Min MFE/MAE: The minimum Target MFE / Target MAE ratio required for a strategy to be plotted.

3) Plot Averages: If true, the Average MFE and Average MAE of the profitable trades will be plotted as triangles, but only for those strategies that meet the conditions set by Strategy Plot Parameters (1) and (2).


Strategy Plots

The GlassBox will plot entry signals that include an arrow on the entry bar, the Target MFE for the corresponding strategy, and the Target MAE for that strategy. If Plot Averages is set to true it will also plot Average MAE and Average MFE. The plots themselves are coded according to color (for fast signal strategies) and dash style (for slow signal strategies). This allows the user to identify the strategy that is signaling based on its plot.

Fast Signal Strategies
Indicator1 is red
Indicator2 is green
Indicator3 is blue.
Indicator4 is fuchsia

Slow Signal Strategies
Indicator5 is dashed
Indicator6 is dot
Indicator7 is dash-dot
Indicator8 is dash-dot-dot

Combination strategies can be recognized on the chart by combination plots. For example: a combination strategy involving Fast Signal 1 and Slow Signal 1 will be plotted as a red dash.

Signal plots will be removed from the chart if the signal condition fails to remain valid for the minimum bars set by the minimum bars parameter. A sound alert will play if an entry signal is removed from the chart to let the user know that the original signal is no longer valid.

For more a more detailed explanation and discussion visit this thread:https://nexusfi.com/elite-circle/22818-xavglassbox-discussion-automated-signal-analysis-discretionary-trading.html


Category The Elite Circle 
 
Suggest other entries I might like
Details: XavGlassBoxV1
Category: The Elite Circle 


September 9th, 2012
Size: 11.48 KB
Downloaded: 541 times
XavICDv1 4 *
This indicator creates a convergence-divergence indicator, similar to a MACD, using any two indicator plots.
Parameters:
Fast Indicator: Enter the fast indicator name and parameters here. Ex: Stochastics(7,14,3)
Fast Indicator Plot: Enter the name of the plot you want to use as an input for the fast indicator. Ex: D
Slow Indicator: Enter the slow indicator name and parameters here.
Slow Indicator Plot: Enter the name of the plot you want to use as an input for the slow indicator.
Smooth Periods: Number of SMA periods used to smooth the ICD plot.

The three plots are Avg, Diff, and ICD which are exactly like the MACD plots.

Big thanks goes out to @gomi and @NJAMC for their indicator instantiating code.

Discussion thread: https://nexusfi.com/elite-circle/22946-xavicd-discussion.html

Enjoy


Category The Elite Circle 
 
Suggest other entries I might like
Details: XavICDv1
Category: The Elite Circle 


September 7th, 2012
Size: 4.87 KB
Downloaded: 349 times
XavNPDDOv3 (Normalized Price and Delta Divergence Oscillator) 5 *
This indicator normalizes price-delta and delta using a moving average and standard deviations. These normalized outputs are plotted on the same indicator panel, as well as the difference between the two. Please read this post for more details:
https://nexusfi.com/elite-circle/21837-xavnpddo-discussion-normalized-price-delta-divergence-oscillator.html

Enjoy

***This indicator utilizes the GOM Framework***

Edit:
7/29/2012 - Changed logic for normalization to make it statistically accurate


Category The Elite Circle 
 
Suggest other entries I might like
Details: XavNPDDOv3 (Normalized Price and Delta Divergence Oscillator)
Category: The Elite Circle 


July 29th, 2012
Size: 26.52 KB
Downloaded: 882 times
XavDeltaOscillator 5 *
XavDeltaOscillator

This indicator is a Market Delta Oscillator. It plots Delta (Dark Gray and Silver), a fast HMA of Delta (Green and Red), a slow HMA of Delta (Cyan and Fuchsia), and the difference between the fast and slow HMA's.

The Moving Averages are colored based on whether they are rising or not. The difference is colored based on whether it is increasing or not. Market Delta is also colored based on whether it is increasing or not. You can turn off the Market Delta plot.

I have started a thread called Delta Oscillator Discussion where anyone can post comments or suggestions.

Enjoy

Edit 7/20/2012: Fully functional GOM Framework version can be found here:
https://nexusfi.com/elite-circle/21773-delta-oscillator-discussion.html


Category The Elite Circle 
 
Suggest other entries I might like
Details: XavDeltaOscillator
Category: The Elite Circle 


July 18th, 2012
Size: 7.08 KB
Downloaded: 468 times
XavPackV3 5 *
XavPackV3

This file includes four simple TS based. "Buys" are at or above Ask price, "Sells" are at or below Bid price. XavVolumeV3 breaks total volume down into "Buys", "Sells", "Buys" above Ask, "Sells" below Bid, and Total Volume. It also lets you know if there were more buys or sells, and if volume is greater than a set value. XavVisualTapeV3 helps you see "Lot" trades, "Block" trades, and all the volume information from XavVolumeV2. "Lot" trades are continuous buys or sells that have the same time stamp. From my understanding of TS, "Lot" trades indicate big orders being filled against smaller orders, and "Block" trades indicate big orders being filled against big orders. XavFilteredTimeAndSalesV2 takes time and sales, groups trades into "Lots", and then filters them by a user defined size (Similar to how the CME used to report trades). It also alerts you when Lot trades are made, and can tell you how many price levels the trade went through. This information is plotted directly on the chart. XavDeltaVolume plots Buy/Sell Delta, and Above Ask/Below Bid Delta.

XavVolumeV3:
-A simple TS based volume indicator
-"Buy" Volume - trades at or above ask price (Plotted as positive)
- Above Ask Volume
-"Sell" Volume - trades at or below bid price (Plotted as negative)
-Below Bid Volume
- Total Volume - Buys plus Sells (Plotted as positive)
-HighVolume: Volume level that will change the color of the TotalVolume Plot if reached.


XavVisualTapeV3:
-A simple TS based indicator that looks for Buys above Ask, Sells below Bid, "Lot" trades, and "Block" trades
-BlockSize: Minimum size for Block trades.
-ChartDisplay: Displays above ask volume(black), lot buy volume(green), block buy volume(blue), block sell volume(blue), lot sell volume(red), below bid volume(black), Buy Volume, and Sell Volume around current bar(% of total volume in parentheses).
-HistoricalPlot: Keeps the ChartDisplay on all bars, not just current bar.
-LineWidth: Width of the PlotBlock and PlotLot lines
-LotSize: Minimum "Lot" trade size.
-PercentMode: Plots all values in indicator panel as a % of total volume
-PlotBlocks: Plots small horizontal lines where block trades occur.
-PlotLots: Plots small horizontal lines where lot trades occur.
-PlotOffset: Offset multiplier for ChartDisplay based on ATR(14).
-Sound Alerts: Plays selected sound file when a Lot trade, or Block trade occurs.
-BigLotSize: Minimum size for a bigger lot trade. Plots triangles where these trades occur


XavFilteredTimeAndSalesV2
-This indicator takes time and sales, groups similar trades("Lots"), and filters them.(Similar to how the CME used to report trades)
-Output is plotted directly on chart
-FilterSize: The minimum size "Lots" you want to display
-TradeRows: Number of rows to display
-LotSizes: Different levels for trade sizes that will make the trade bold, change the color, and play sound alert.
-FontSize: Font Size
-Precision: Decimal precision of price
-PriceLevels: If set to true, it will plot a "*" for each price level crossed by the trade.
-Colors and Sound Alerts are customizable

***New algorithm for grouping trades fixed the lag issue, and more accurately spots bigger trades. I changed the algorithm because I found out NT removes millisecond information from timestamps***

XavDeltaVolume
-Plots Buy/Sell Delta and AboveAsk/BelowBid Delta


***Some Lot and Block trades will be missed if you do not use time based charts(Range, Renko, Volume,... etc)***

***Set your right margin to around 250***

Please feel free to improve these indicators if there is anything you would like to add to them. I started a thread called XavPack Discussion were anyone can post comments or improvements.

Enjoy

Version Changes:
6/29/2012 - XavPackV1: Changed lot and block plots from dots and diamonds to horizontal lines.
6/30/2012 - Added color options. Added sound alerts. Added line levels.
7/1/2012 - XavPackV2: Added more options. Changed ChartDisplay features.
7/4/2012 - XavPackV2a: Added XavFilteredTimeAndSales to XavPack and a few minor code changes.
7/14/2012 - XavPackV3: XavVolumeV3- added HighVolume, added line levels, code cleaned up. XavVisualTapeV3 - Added PlotOffset, higher values on ChartDisplay are highlighted, cleaned up code, changed grouping algorithm. XavFilteredTimeAndSalesV2 - Changed algorithm, added sound alerts, added size levels, added price levels, cleaned up code, added font size. Added XavDeltaVolume to XavPack.


Category The Elite Circle 
 
Suggest other entries I might like
Details: XavPackV3
Category: The Elite Circle 


July 15th, 2012
Size: 17.25 KB
Downloaded: 1519 times
 


 
Category
 




© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top