Search found 12 matches
- 21 Jul 2016
- Forum: MultiCharts
- Topic: Possible to trade contract that isn't within dataset
- Replies: 6
- Views: 2127
Re: Possible to trade contract that isn't within dataset
Is it possible to take this information of an options contract and have an order be automatically generated for this contract even if it is not part of the datasets on the chart / in the portfolio? Hello pedro565, There is no way to do that in PowerLanguage. In MultiCharts (with PowerLanguage) you ...
- 20 Jul 2016
- Forum: MultiCharts
- Topic: Possible to trade contract that isn't within dataset
- Replies: 6
- Views: 2127
Re: Possible to trade contract that isn't within dataset
Wow, this is embarrassing.
After using this for a year I now found out that MC uses Powerlanguage which is slightly different than Easy Language, hence the lack of this function.
I am going through the Multicharts literature to see if I can figure this one out but any tips are much appreciated.
After using this for a year I now found out that MC uses Powerlanguage which is slightly different than Easy Language, hence the lack of this function.
I am going through the Multicharts literature to see if I can figure this one out but any tips are much appreciated.
- 20 Jul 2016
- Forum: MultiCharts
- Topic: Possible to trade contract that isn't within dataset
- Replies: 6
- Views: 2127
Re: Possible to trade contract that isn't within dataset
Say all options contracts were properly mapped in MC - in the EL programming functions & reserved words guide there is a function called "limitorder" and based off the description and example it does exactly what I would like. The example is as follows: Value1 = LimitOrder("Once","SIM15180","Sell","...
- 20 Jul 2016
- Forum: MultiCharts
- Topic: Possible to trade contract that isn't within dataset
- Replies: 6
- Views: 2127
Possible to trade contract that isn't within dataset
Hi, I have been racking my brain about this for some time but am not sure it is even possible within EL/MC. For example, in either normal MC or portfolio trader if I have SPY 1 minute bars as data1 and SPY daily bars as data2 and I have a signal that calculates a strike price and expiration date for...
- 15 Oct 2015
- Forum: MultiCharts
- Topic: Trading one symbol with two strategies
- Replies: 32
- Views: 7789
Re: Trading one symbol with two strategies
Sorry for resurrecting this somewhat old thread but I want to do something similar but do it in a different way. Is it possible to have multiple strategies on one instrument but have them in the same chart *AND* use different, specific profit targets and stops for each strategy running? I know that ...
- 18 Aug 2015
- Forum: MultiCharts
- Topic: Orders/Conditions with values [SOLVED]
- Replies: 12
- Views: 3238
Re: Orders/Conditions with values [SOLVED]
The issue has been solved. For those curious, I had to use the round function to round var0 to the nearest penny as it was being calculated to a precise number to fractions of a penny, a price that a stock would never equal; therefore, the buy orders weren't being triggered properly. Thanks very muc...
- 18 Aug 2015
- Forum: MultiCharts
- Topic: Orders/Conditions with values [SOLVED]
- Replies: 12
- Views: 3238
Re: Orders/Conditions with values [SOLVED]
Hi Josh, Thanks so much for your help but that too is not triggering an order. In the PM Tony sent to me he provided this advice: Hi: Two things stand out. One is when you have IOG=True, I believe variables need to be defined as intrabarpersist var0(0); Versus right now you just have var0(0); This a...
- 17 Aug 2015
- Forum: MultiCharts
- Topic: Orders/Conditions with values [SOLVED]
- Replies: 12
- Views: 3238
Re: Orders/Conditions with values [SOLVED]
Thank you so much for your continued help. This is the latest version of the buy
Code: Select all
value11 = (var11+0.06) ;
value12 = (var11+0.02) ;
if close = value11 then begin
buy ("New Entry") 1000 shares next bar at value12 limit ;
- 16 Aug 2015
- Forum: MultiCharts
- Topic: Orders/Conditions with values [SOLVED]
- Replies: 12
- Views: 3238
Re: Orders/Conditions with values [SOLVED]
When I look at the performance report not one trade is being executed either.
- 16 Aug 2015
- Forum: MultiCharts
- Topic: Orders/Conditions with values [SOLVED]
- Replies: 12
- Views: 3238
Re: Orders/Conditions with values [SOLVED]
Thanks so much for your help!
I have made the changes but no buy arrows/ticks show up on the chart indicating a buy would have been made on the backtest, even though the values would have been hit on several occasions.
Any other ideas?
I have made the changes but no buy arrows/ticks show up on the chart indicating a buy would have been made on the backtest, even though the values would have been hit on several occasions.
Any other ideas?
- 15 Aug 2015
- Forum: MultiCharts
- Topic: Orders/Conditions with values [SOLVED]
- Replies: 12
- Views: 3238
Re: Orders/Conditions with values [SOLVED]
Sorry about that, here is the code:
I am using MultiCharts64 for TWS Version 8.9 Release (Build 10289).
Code: Select all
value12 = (var11+0.06) ;
value11 = (var11+0.02) ;
condition1 = close = value12 ;
if condition1 then buy ("New Entry") 1000 shares next bar at value11 limit ;
- 15 Aug 2015
- Forum: MultiCharts
- Topic: Orders/Conditions with values [SOLVED]
- Replies: 12
- Views: 3238
Orders/Conditions with values [SOLVED]
I have created a strategy that creates values and once a stock reaches those values a limit order is to be placed just below the market price. I have confirmed that the values and variables are being calculated correctly by forming an indicator out of the strategy and plotting the values. The strate...