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 8,061 views
    2. thumb_up 69 thanks given
    3. group 11 followers
    1. forum 22 posts
    2. attach_file 1 attachments




 
Search this Thread

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

  #21 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,666 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,360


Shaban View Post
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


That is not the same code I posted, you changed "mp" to "marketposition". "mp" is a function, it might not be in version 8.2 of Tradestation.

Go back and use the original version I posted, and at the top of the strategy add the statements:

var:mp(0);
mp=marketposition;


and then it should work fine.

Follow me on Twitter Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
REcommedations for programming help
Sierra Chart
Cheap historycal L1 data for stocks
Stocks and ETFs
Trade idea based off three indicators.
Traders Hideout
ZombieSqueeze
Platforms and Indicators
 
  #22 (permalink)
Shaban
Turin + Italy
 
Posts: 194 since Feb 2020
Thanks Given: 24
Thanks Received: 129

Thanks Kevin, now the formula also works with Tradestation 8.2.

Reply With Quote
Thanked by:
  #23 (permalink)
 
AllSeeker's Avatar
 AllSeeker 
Mumbai, India
Legendary Pratik_4Clover
 
Experience: Beginner
Platform: TradingView & ZerodhaKite
Trading: NIFTY, BANKNIFTY
Frequency: Daily
Duration: Minutes
Posts: 1,426 since Jan 2019
Thanks Given: 5,249
Thanks Received: 5,014


This was really good, i don't even use tradestation but it was worth watching. Highly recommended

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on March 19, 2020


© 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