NexusFi: Find Your Edge


Home Menu

 





Options trading strategy


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one ABCTG with 5 posts (0 thanks)
    2. looks_two todell826 with 5 posts (0 thanks)
    3. looks_3 Jura with 1 posts (0 thanks)
    4. looks_4 The9000 with 1 posts (0 thanks)
    1. trending_up 7,103 views
    2. thumb_up 0 thanks given
    3. group 4 followers
    1. forum 12 posts
    2. attach_file 0 attachments




 
Search this Thread

Options trading strategy

  #11 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,435 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628

This will likely not be possible. The best you might be able to accomplish is getting the Bid price at the time you issue the entry order on realtime data. For that you can look into the reserved word InsideBid and reference the datastream you want.

Regards,

ABCTG

Follow me on Twitter Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
NexusFi Journal Challenge - May 2024
Feedback and Announcements
REcommedations for programming help
Sierra Chart
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
41 thanks
Just another trading journal: PA, Wyckoff & Trends
30 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
21 thanks
  #12 (permalink)
The9000
Chicago, IL
 
Posts: 6 since Oct 2015
Thanks Given: 0
Thanks Received: 3


todell826 View Post
Thanks for all the help!

I have another question.

When a position is opened in data1, how do you generate a variable that equals the bid price of data2 at the time of position entry?

I believe you will need to use the .NET version if you want access to the bid/ask data. If you want the last traded price of data2, you could do something like:

if BuySignal=True then buy ("Long_Entry") 10 contracts next bar at market;

// It buys the next bar at open

if marketposition=1 and marketposition[1]=0 then price2 = open data2;

I hope that helps or steers you in the right direction.


I hope that helps.

Reply With Quote
  #13 (permalink)
 
Jura's Avatar
 Jura   is a Vendor
 
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 690



The9000 View Post
I believe you will need to use the .NET version if you want access to the bid/ask data.

MultiCharts .NET indeed has that data, but it's available in the regular PowerLanguage version too (see here). And the InsideBid and InsideAsk keywords are more accessible for those looking to use bid/ask data.

Reply With Quote




Last Updated on March 7, 2016


© 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