NexusFi: Find Your Edge


Home Menu

 





Idea: Wick-based SMA Indicator (WiSMA)


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one rewex with 9 posts (1 thanks)
    2. looks_two Fat Tails with 8 posts (4 thanks)
    3. looks_3 deltason with 2 posts (0 thanks)
    4. looks_4 Big Mike with 1 posts (0 thanks)
    1. trending_up 4,500 views
    2. thumb_up 5 thanks given
    3. group 4 followers
    1. forum 19 posts
    2. attach_file 4 attachments




 
Search this Thread

Idea: Wick-based SMA Indicator (WiSMA)

  #1 (permalink)
 rewex 
Germany
 
Experience: Advanced
Platform: N/A
Broker: N/A
Trading: N/A
Posts: 11 since May 2011
Thanks Given: 0
Thanks Received: 4

Hey folks,

I'd like to share one idea of mine with you all:

In this example i have picked the EURUSD (Spot). All data was exported from Bloomberg and can thus be considered as accurate. I have analyzed the wicks of each day since the introduction of the EUR.

Let me define the parameters:

If the last day was an Upday, the Wick is considered as: Open-Low
If the last day was an Downday, the wick is considered as: High-Open

The pic below is german. Translation for those who are not familiar:

"Mittelwert" equals "Mean"
"Median" equals "Median"
"Standardabweichung" equals "Std. Devation"
"Varianz" equals "Variance"
"Minimum"equals "Minimum"
"Maximum" equals "Maximum"
"Perzentile" equals "Percentiles"

The percentiles define the probability of picking the high/ low of the day:
Open(Today) + or - (Percentile)
It's like: First touch, first action. It makes backtested it with seversal significance tests.
The wicks are not normal distributed (probably due to anomaly -> crash/high vola).

Screenshot is attached. It's all in pips.

Although trying to pick tops and buttoms is like finding the holy grail, i have experienced those levels are excellent scalping opportunities!

What do you guys think? As i have no experience with coding NT-Indicators: Would it be possible for anybody of you guys to code a WiSMA (SMA of the Wick size of the last n days).

Looking forward to hear from you guys. Enjoy your day.

Greetz,
rewex

Attached Thumbnails
Click image for larger version

Name:	-.png
Views:	175
Size:	308.5 KB
ID:	115675  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
Exit Strategy
NinjaTrader
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #2 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102

I have already coded a similar indicator, however there is a difference. Each candle has an upper wick and a lower wick (no wick = wick with value zero).

Your definition:

-> (High - Open) on a down day
-> (Open - Low) on an up day

My definition:

-> Noise or failed move = The smaller of (High - Open) and (Open - Low)
-> Expansion or dominant move = The larger of (High-Open) and (Open-Low)

Your are also looking for the size of the failed move, where failure is measured by applying the filter upclose or downclose. I am filtering by comparing the size of the moves from the open to the high and the low. This is not resulting in wicks, but the slightly different concept of noise.

The next step was then to calculate a simple moving average of the daily noise, for example over 10 days. I have then plotted the noise bands based on that moving average around the daily open.

For FOREX the noise bands can be plotted for each the Asian session, London session and US session, or for the entire trading day. Let us have a look at the ETH (full session) noise bands for last Thursday and Friday:

The average daily noise (failed move) was 28 pips over the last 20 days and 30 pips over the last 10 days (see data table upper left). Usually you should expect some support and resistance, if you draw a horizontal line 29 ticks below and 29 ticks above the open.

Do you look for something similar to this, based on the SMA of the wick sizes?


Reply With Quote
  #3 (permalink)
 rewex 
Germany
 
Experience: Advanced
Platform: N/A
Broker: N/A
Trading: N/A
Posts: 11 since May 2011
Thanks Given: 0
Thanks Received: 4


This is one example where i also took the percentiles into account (FDAX) - First touch, first action. The smaller dashed lines are Open+Mean & Open +Median for the upside and vice versa for the downside. The thinker ones are Open+/- Percentile(80%) of the wick. The squares can be ignored as they are based on the PriorDayMid (another Idea): https://content.screencast.com/users/rw4real/folders/Jing/media/d315b9da-6371-4b9f-8a4f-48235514737f/2013-04-27_1158.png

Started this thread Reply With Quote
  #4 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


rewex View Post
This is one example where i tool the percentiles also into account (FDAX) - First touch, first action. The smaller dashed lines are Open+Mean & Open + Open+Median and the thinker one is Open+Percentile(80%) of the wick. The squares can be ignored as they are based on the PriorDayMid (another Idea): https://content.screencast.com/users/rw4real/folders/Jing/media/d315b9da-6371-4b9f-8a4f-48235514737f/2013-04-27_1158.png

This chart must be ages old..... Can you post a more recent chart and include the horizontal scale to make it easier to understand it?

Reply With Quote
  #5 (permalink)
 rewex 
Germany
 
Experience: Advanced
Platform: N/A
Broker: N/A
Trading: N/A
Posts: 11 since May 2011
Thanks Given: 0
Thanks Received: 4

Will do so, gimme an hour. The pic was a hit-and-run example. Gonna upload the rest of my idea in an hour. BigMike doesn't accept files >=4mb - Will upload all research.

Started this thread Reply With Quote
Thanked by:
  #6 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603

You can attach files up to 1GB in size to posts if they are zipped. Image files (PNG, JPG) are limited to 4MB each so they load reasonably fast when viewing threads. If you need to upload an image larger than 4MB, which should be a pretty rare thing, then just zip it first.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #7 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


rewex View Post
Will do so, gimme an hour. The pic was a hit-and-run example. Gonna upload the rest of my idea in an hour. BigMike doesn't accept files >=4mb - Will upload all research.

Have found the day with the price action, it was April 16 and April 17.

Below is a chart that shows the noise bands and expansion (target) bands for those two days for FDAX 06-13.



Reply With Quote
  #8 (permalink)
 rewex 
Germany
 
Experience: Advanced
Platform: N/A
Broker: N/A
Trading: N/A
Posts: 11 since May 2011
Thanks Given: 0
Thanks Received: 4

Thanks, Mike. Here is a part of my statistics for the EURUSD. It's pretty much unfiltered. Uploading it first. I will continue to describe my idea in few minutes. Anyway, enjoy the data if you like OHLC data: I have analyzed 5min-1month data of the wick, body & range. HlPreMid is the daily high/low of the prior day mid.

Attached Files
Elite Membership required to download: EURUSD.zip
Started this thread Reply With Quote
  #9 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


rewex View Post
Thanks, Mike. Here is a part of my statistics for the EURUSD. It's pretty much unfiltered. Uploading it first. I will continue to describe my idea in few minutes. Anyway, enjoy the data if you like OHLC data.

Looks interesting, all this statistics can be calculated in a second by NinjaTrader and displayed in your chart as data tables or indicators, once it is set up as an indicator.

Once you know the statistical distribution of ranges, momentum (open-to-close) and the wicks, you can calculate the arithmetic average (mean) or the median , which is what you have asked for. But with NinjaTrader you can also easily draw

- standard deviation bands based on distribution of ranges or wicks
- percentile bands based directly calculated from the distribution

Just tell me whether you prefer a 70% percentile band or a 1-SD band around the open based on your definition of wicks, and it should be possible to code it. It might lead to interesting results.

For the noise bands I have not used variance or percentiles, but simply added a multiplier which allows for adjusting the width of the bands.

Reply With Quote
  #10 (permalink)
 rewex 
Germany
 
Experience: Advanced
Platform: N/A
Broker: N/A
Trading: N/A
Posts: 11 since May 2011
Thanks Given: 0
Thanks Received: 4


That is what i am asking myself for: Actually - pretty noob-like - i have plotted Open + Mean & Open + Median as well as Open - Mean & open - Median to my charts. Those levels are nice, not perfect, for scalping purposes. I have several ideas.

Maybe we could something like a WiSMA? Becuase i only got Mean/ Median based an ALL data since the introduction of the EUR. Heavy Vola has to be seen as disturbing?

I am not quite sure - What do you think? - but, we coule develop some kind of BollingerBands, but rather taking the Std.Deviation of the SMA, we will the the Std. Devation of the average wicksize of the last (n) periods? Does that make sense to you?

Started this thread Reply With Quote




Last Updated on June 17, 2013


© 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
no new posts