NexusFi: Find Your Edge


Home Menu

 





Webinar: 3 Excellent Entries, and How To Automate Them w/ Kevin Davey


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one kevinkdog with 7 posts (33 thanks)
    2. looks_two Big Mike with 3 posts (20 thanks)
    3. looks_3 Shaban with 3 posts (1 thanks)
    4. looks_4 mattz with 2 posts (6 thanks)
      Best Posters
    1. looks_one Big Mike with 6.7 thanks per post
    2. looks_two kevinkdog with 4.7 thanks per post
    3. looks_3 mattz with 3 thanks per post
    4. looks_4 tturner86 with 1.5 thanks per post
    1. trending_up 12,742 views
    2. thumb_up 69 thanks given
    3. group 11 followers
    1. forum 22 posts
    2. attach_file 1 attachments




 
Search this Thread
  #11 (permalink)
 
tturner86's Avatar
 tturner86 
Portland, Oregon
Market Wizard
 
Experience: Intermediate
Platform: F-16CM-40
Trading: GBU-39
Posts: 6,192 since Sep 2013
Thanks Given: 10,461
Thanks Received: 12,699

Recording has been sent to @Big Mike. Please give him 24-48 hrs to post.


Visit my NexusFi Trade Journal Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
April CPI Preview: +3.7% YoY Expected at 8:30 AM ET -- C …
Traders Hideout
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
Iran Airspace Contract Surges to 33.5% as Project Freedo …
Prediction Markets & Event Contracts
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
Commodities
Warsh Rate Hike at 40%, Iran June 15 Expires Tonight at …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 thanks
  #12 (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,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,577

Hi guys,

Webinar recording:



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 X Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #13 (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,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,577


Hi guys,

Give us your feedback about this webinar using the links below.

If you liked it, click here:
https://nexusfi.com/email-feedback.php?title=47&liked=1

If you didn't like it, click here:
https://nexusfi.com/email-feedback.php?title=47&liked=-1

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 X Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #14 (permalink)
jigg
singapore
 
Posts: 9 since Feb 2019
Thanks Given: 13
Thanks Received: 10

Thanks for posting! some very nice information here you guys do a great job


Reply With Quote
Thanked by:
  #15 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT Stellar & Tradestation
Broker: Primarily Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals, U308 and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,241 since Dec 2013
Thanks Given: 4,586
Thanks Received: 10,532


Big Mike View Post
Hi guys,

Give us your feedback about this webinar using the links below.

If you liked it, click here:
https://nexusfi.com/email-feedback.php?title=47&liked=1

If you didn't like it, click here:
https://nexusfi.com/email-feedback.php?title=47&liked=-1

Mike

Mike, you obviously didn't need a don't like button for this one! I mean it's Kevin!


Reply With Quote
Thanked by:
  #16 (permalink)
Shaban
Turin + Italy
 
Posts: 201 since Feb 2020
Thanks Given: 26
Thanks Received: 138

Hi,

in the video: 3 Excellent Algo Trading Strategy Entries, and How To Automate Them,

in Entry formula #1: Exit Based on Trailing ATR:


if marketposition=1 and close<=highclose-3 * avgTrueRange(15) then sell next bar at market;

if marketposition=-1 and close>=lowclose+3 * avgTrueRange(15) then buytocover next bar at market;


Tradestation 8.2 reports these 2 errors as invalid words:

highclose

lowclose


If someone can correct this formula, thank you in advance.


Reply With Quote
  #17 (permalink)
 April 
Boston
 
Posts: 10 since Nov 2013

I am most concerned, after reviewing your performance data, that your trading programs take only 12 trades a year; maybe 1-2-3 a month at most; OJ was only 4 trades in 1 year.
These are not day bots or even weekly bots but once in a blue moon trades.


Reply With Quote
  #18 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,738 since Jul 2012
Thanks Given: 1,918
Thanks Received: 7,485


Shaban View Post
Hi,

in the video: 3 Excellent Algo Trading Strategy Entries, and How To Automate Them,

in Entry formula #1: Exit Based on Trailing ATR:


if marketposition=1 and close<=highclose-3 * avgTrueRange(15) then sell next bar at market;

if marketposition=-1 and close>=lowclose+3 * avgTrueRange(15) then buytocover next bar at market;


Tradestation 8.2 reports these 2 errors as invalid words:

highclose

lowclose


If someone can correct this formula, thank you in advance.

Thanks for the question, I appreciate it. Due to space concerns, I could not include the whole code on the slide. Here is the whole code, with highclose and lowclose defined.

********************************************************************************
//Entry Example: Big Funds entry
//
//By Kevin J. Davey - [email protected]
//


//Big Funds entry concept based on the GREAT book:
// "Following The Trend" by Andreas Clenow


//<><>><><><><><><><><><><><><><><><><><><><><><><><><><><>
//><>><><><><><><><><><><><><><><><><><><><><><><><><><><><
//<><>><><><><><><><><><><><><><><><><><><><><><><><><><><>
//><>><><><><><><><><><><><><><><><><><><><><><><><><><><><

//PLAIN ENGLISH RULES
//long trades can only be taken if the 50 period average is aboce the 100 period average
//vice versa for shorts

//if a long trade can be taken, go long if the close is the highest close of the past 50 bars
// vice versa for shorts

//once in a long trade, exit if the close falls below the highest close while in the trade minus 3 times the 15 period Average True Range
//vice versa for shorts

//<><>><><><><><><><><><><><><><><><><><><><><><><><><><><>
//><>><><><><><><><><><><><><><><><><><><><><><><><><><><><
//<><>><><><><><><><><><><><><><><><><><><><><><><><><><><>
//><>><><><><><><><><><><><><><><><><><><><><><><><><><><><

input:TrailExit("Off");



// if condition1 is true, only long entries are allowed
// if condition1 is false, only short entries are allowed

If average(close,50)>average(close,100) then condition1=True;
If average(close,50)<average(close,100) then condition1=False;

If condition1=true and close=highest(close,50) then buy next bar at market;
If condition1=false and close=lowest(close,50) then sellshort next bar at market;


//trailing exit (not active on entry bar)

var:highclose(0),lowclose(0);

If TrailExit="On" then begin

If mp=1 and mp[1]<>1 then begin
//new long entry, set highest close
highclose=close;
lowclose=-9999999.;
end;

If mp=-1 and mp[1]<>-1 then begin
//new short entry, set highest close
lowclose=close;
highclose=999999.;
end;

//check fo new high and low if in a position
If marketposition=1 and close>highclose then highclose=close;
If marketposition=-1 and close<lowclose then lowclose=close;

If marketposition=1 and close<=highclose-3 * avgTrueRange(15) then sell next bar at market;
If marketposition=-1 and close>=lowclose+3 * avgTrueRange(15) then buytocover next bar at market;

end;


Follow me on X Reply With Quote
Thanked by:
  #19 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,738 since Jul 2012
Thanks Given: 1,918
Thanks Received: 7,485


April View Post
I am most concerned, after reviewing your performance data, that your trading programs take only 12 trades a year; maybe 1-2-3 a month at most; OJ was only 4 trades in 1 year.
These are not day bots or even weekly bots but once in a blue moon trades.

Thanks for the comment. I'd prefer strategies that trade once per week, once per day or even once every hour. More trades generally give you more confidence statistically that there is an edge to the strategy.

I'd love to only trade strategies that have 1000s of historical trades to validate them.

But my experience is that less frequently traded strategies, IF THEY ARE DEVELOPED PROPERLY, can work in real time too.


Follow me on X Reply With Quote
Thanked by:
  #20 (permalink)
Shaban
Turin + Italy
 
Posts: 201 since Feb 2020
Thanks Given: 26
Thanks Received: 138


Hi, Kevin,

thanking you for the formula, Tradestation 8.2 reports this error:"Cannot implicitly convert Numerical to TrueFalse"

marketposition[1]

in these 2 strings (see attached picture):

If marketposition=1 and marketposition[1]<>1 then begin

If marketposition=-1 and marketposition[1]<>-1 then begin


[img]https://i.postimg.cc/XYZNW3jp/Errore-nella-formula-dettaglio.jpg[/img]

I thank you in advance


Reply With Quote




Last Updated on March 19, 2020


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