StockFetcher Forums · General Discussion · Elephant Bar<< >>Post Follow-up
snappyfrog
731 posts
msg #160304
Ignore snappyfrog
4/23/2023 9:18:27 AM

The name Elephant Bar came from a video. This example shows bars that match the following:

Bar is "near" the MA(20) or MA(200)
Bar has short or no wicks on top and bottom
Bar is much larger that the previous 3 or 4 bars

Unfortunately, terms like "near", "short" and "larger" are undefined terms. I have EMA on this chart, but should or could be SMA / MA.

Claims are that these can be used on any timeframe. Supposedly, it is profitable 70% of the time with a follow through of several bars 80% of the time.

mypicks

Location of the video: https://www.youtube.com/watch?v=HKMQLMXVYyc

xarlor
587 posts
msg #160306
Ignore xarlor
4/23/2023 12:23:28 PM

Watched the video, wrote a filter.

As with all YouTube "coaches" he isn't consistent with his rules. For example, he says not to trade when the candle is far away from both the MA(20) or MA(200). He then proceeds to circle multiple spots to enter a trade when the candle is significantly far away from either MA. Sure, in retrospect they look like great entries, but at the time one would enter that trade they'd be breaking the "near ma" rule.

Additionally, he's not clear on the exit rules other than placing protection at the top of the entry candle and taking profit on color change (red-to-green). In my backtesting, it looks like the protection is a recipe for increased losses. Looks like it's better to always exit on next green candle, regardless of profit/loss.

You can change how big you want the elephant to be my altering the value of "dayrangex". HIgher vales return less hits, but increases probability of a follow-through. Lower values give you more plays, but accuracy suffers. I found the sweet-spot right now is 1.5.

Fetcher[
/* Bearish Elephant Bar */
/* 82% follow through */
/* Claim is you will be profitable over the course of each 10 trades */
/* Open bearish position at the close */
/* Close position at the close of the next green candle */
/* https://www.stockfetcher.com/forums/General-Discussion/Elephant-Bar/160304 */
/* https://www.youtube.com/watch?v=HKMQLMXVYyc */

optionable

/* Let's find a candle with short wicks */
set{bodytop,max(close,open)}
set{bodybottom,min(close,open)}

set{upperwick,high-bodytop}
set{lowerwick,bodybottom-low}

set{dayrange,high-low}

set{u_percentagewick,upperwick/dayrange}
set{l_percentagewick,lowerwick/dayrange}

u_percentagewick is less than .1
l_percentagewick is less than .1

/* Today's candle must be X times as large as the last 3 candles */

set{dayrangex,dayrange * 1.5}
dayrange > dayrangex 1 day ago
dayrange > dayrangex 2 days ago
dayrange > dayrangex 3 days ago

/* Candle must be near MA(20) or MA(200) */

set{cross20,count(close crossed ma(20) within last 3 days,1)}
set{cross200,count(close crossed ma(200) within last 3 days,1)}
set{nearma,cross20 + cross200}
nearma > 0

/* MA(20) declining for last 5 days and candle is bearish */

count(ma(20) < ma(20) 1 day ago,5) equals 5
close < open

/* Visual stuff */

draw ma(20)
draw ma(200)

do not draw u_percentagewick
do not draw l_percentagewick
do not draw dayrange
do not draw dayrangex
do not draw nearma
]



snappyfrog
731 posts
msg #160307
Ignore snappyfrog
4/23/2023 9:52:03 PM

Thanks xarlor.

I opened it up a bit and allowed it to show up or down elephant candles.

Fetcher[
/* Bearish Elephant Bar */
/* 82% follow through */
/* Claim is you will be profitable over the course of each 10 trades */
/* Open bearish position at the close */
/* Close position at the close of the next green candle */
/* https://www.stockfetcher.com/forums/General-Discussion/Elephant-Bar/160304 */
/* https://www.youtube.com/watch?v=HKMQLMXVYyc */

optionable
market is not etf
market is not otcbb


/* Let's find a candle with short wicks */
set{bodytop,max(close,open)}
set{bodybottom,min(close,open)}

set{upperwick,high-bodytop}
set{lowerwick,bodybottom-low}

set{dayrange,high-low}

set{u_percentagewick,upperwick/dayrange}
set{l_percentagewick,lowerwick/dayrange}

u_percentagewick is less than .1
l_percentagewick is less than .1

/* Today's candle must be X times as large as the last 3 candles */

set{dayrangex,dayrange * 1.5}
dayrange > dayrangex 1 day ago
dayrange > dayrangex 2 days ago
dayrange > dayrangex 3 days ago

close near ma(20)

/* Visual stuff */

draw ma(20)
draw ma(200)

do not draw u_percentagewick
do not draw l_percentagewick
do not draw dayrange
do not draw dayrangex
]



StockFetcher Forums · General Discussion · Elephant Bar<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.