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,085 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,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

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?
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
Exit Strategy
NinjaTrader
Increase in trading performance by 75%
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
28 thanks
Tao te Trade: way of the WLD
24 thanks
Diary of a simple price action trader
21 thanks
My NQ Trading Journal
14 thanks
GFIs1 1 DAX trade per day journal
9 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