Search found 30 matches

by paul.robillard
06 Feb 2018
Forum: MultiCharts
Topic: Simple Signal [SOLVED]
Replies: 3
Views: 1034

Re: Simple Signal [SOLVED]

Thanks for this :)
I have a PDF book called Easy language for TS. At the bottom of page 43 there is the title MultiData Strategies ... I guess i'll need to go the trial and error route all over again !:/
by paul.robillard
06 Feb 2018
Forum: MultiCharts
Topic: Simple Signal [SOLVED]
Replies: 3
Views: 1034

Simple Signal [SOLVED]

Hello, I am looking for some Tutorial / example of a simple signal to automate trades based on Data2 inputs. I am no expert but i do get around in coding indicators. I would like to get started on signals. More explicitly i would like to trade a Future as Open of data1 if it is greater than the Clos...
by paul.robillard
28 Nov 2015
Forum: MultiCharts
Topic: tl_new property question
Replies: 13
Views: 2900

Re: tl_new property question

I am sure part of my issue comes from my logic is not in synch with Power Language logic (hopefully just yet). But just to check i got this right : Each bar processes the whole code from top to bottom. Am i right ? If i am right, then am i right to assume that in the code section where i figure out ...
by paul.robillard
27 Nov 2015
Forum: MultiCharts
Topic: tl_new property question
Replies: 13
Views: 2900

Re: tl_new property question

Hmm. Are you sure this would print the CLOSE price of end.date1 ?

I think it will print only the date !
by paul.robillard
27 Nov 2015
Forum: MultiCharts
Topic: tl_new property question
Replies: 13
Views: 2900

Re: tl_new property question

ok let me try to ask this then.

how would i code to print in the output the close of the end.date1 ?

Code: Select all

print(end.date1(close));


if i may express my need this way.
by paul.robillard
27 Nov 2015
Forum: MultiCharts
Topic: tl_new property question
Replies: 13
Views: 2900

Re: tl_new property question

variables: txtID (0), TLID (0), TLID1(0), TLID2(0); var: start.date(0), start.time(0), start.price(0), end.date1(0), end.time1(0), end.price1(0), end.date2(0), end.time2(0), end.price2(0); start.date = date; start.time = 900; start.price = open; end.date1 = date + ( Next3rdFriday(1) ); end.time1 = ...
by paul.robillard
27 Nov 2015
Forum: MultiCharts
Topic: tl_new property question
Replies: 13
Views: 2900

Re: tl_new property question

Wow much cleaner indeed. I will certainly keep your coding indications in mind. Unfortunatly I did that the results are the same. Somehow i am failing to expose my problem :// Even tough i am start.date = date; start.time = 900; start.price = open; end.date = date + ( Next3rdFriday(1) ); end.time = ...
by paul.robillard
27 Nov 2015
Forum: MultiCharts
Topic: tl_new property question
Replies: 13
Views: 2900

Re: tl_new property question

See this attachement. I underlined the trend line and it's property box modification i made to get the right result.
by paul.robillard
27 Nov 2015
Forum: MultiCharts
Topic: tl_new property question
Replies: 13
Views: 2900

Re: tl_new property question

Hello, Thanks for replying. What is your chart resolution? Daily I am backtesting a option spread strategy. So i need the 1st day of the month and the next3rdfridays to show up on my historic graph. See attachment. Then i want to draw a trend line : From the OPEN of the 1st open of the month To the ...
by paul.robillard
26 Nov 2015
Forum: MultiCharts
Topic: tl_new property question
Replies: 13
Views: 2900

tl_new property question

Hello, At first i would have expected that the following code would be seamless in a backtesting pov. tl_new(date,900,open,(date+(Next3rdFriday(1))),900,close); What i expected was that the 1st section ->date,900,open<- would mark the OPEN price of the date at the 1st end of trend line. 2nd section ...
by paul.robillard
26 Nov 2015
Forum: MultiCharts
Topic: Trend line from open of 1st open day to next3friday [SOLVED]
Replies: 3
Views: 1658

Re: Trend line from open of 1st open day to next3friday [SOLVED]

While backtesting we do know the end value of the next 3rd friday ;) But yes i wish i'd know in advance hhh. I also tought next3rdfriday was limited to future, but thanks to TJ generous input the function can be used for backtesting. i've been doing research and found something, but i fail to figure...
by paul.robillard
25 Nov 2015
Forum: MultiCharts
Topic: Trend line from open of 1st open day to next3friday [SOLVED]
Replies: 3
Views: 1658

Re: Trend line from open of 1st open day to next3friday [SOLVED]

actually i must be overthinking again ...

i tought that

Code: Select all

tl_new(date,900,open,(date+(Next3rdFriday(1))),900,date+(Next3rdFriday(1)(close));
would do it. But it does not :/

Put simply : I want to draw a trend line between the open of today and the close of the next3rdfriday.
by paul.robillard
24 Nov 2015
Forum: MultiCharts
Topic: Trend line from open of 1st open day to next3friday [SOLVED]
Replies: 3
Views: 1658

Trend line from open of 1st open day to next3friday [SOLVED]

Hi Again, Here's my problem today. For backtesting purpose i have been trying to draw trendlines from the OPEN of the 1st open day of the month to the CLOSE of the 2 next3rdfridays. When taking the problem from the 1st open day pov i get the lines to go from one day to the other allright, but fail t...
by paul.robillard
23 Nov 2015
Forum: MultiCharts
Topic: Code vertical lines on 3rd fridays [SOLVED]
Replies: 3
Views: 2001

Re: Code vertical lines on 3rd fridays [SOLVED]

As i am backtesting some i figured next3rdfriday (wrongly ?) would not do the job.

Thanks.
by paul.robillard
22 Nov 2015
Forum: MultiCharts
Topic: Code vertical lines on 3rd fridays [SOLVED]
Replies: 3
Views: 2001

Re: Code vertical lines on 3rd fridays [SOLVED]

Finally i read somewhere that 3rd fridays are allways between the 15 and 21st of the month, given the comment (overthinking it) sank in, i came up with this : {assuming 3rd friday's are allways between the 15th and 21st} if dayofmonth(date)>14 and dayofmonth(date)<22 and dayofweek(date)=5 then begin...
by paul.robillard
20 Nov 2015
Forum: MultiCharts
Topic: Code vertical lines on 3rd fridays [SOLVED]
Replies: 3
Views: 2001

Code vertical lines on 3rd fridays [SOLVED]

To draw a vertical line on the 3rd friday of every month on an historical graph I have come up with the following code. Given MC calculates for ever, i believe i may have an infinite loop. while (count < 3) begin if (month(date) = month(date[1])) and (dayofweek(date) = 5) and (count = 3) then begin ...
by paul.robillard
20 Nov 2015
Forum: MultiCharts
Topic: How to use Next3rdFriday function ? [SOLVED]
Replies: 3
Views: 2020

Re: How to use Next3rdFriday function ? [SOLVED]

Thank you !

I will get the ebook.
by paul.robillard
20 Nov 2015
Forum: MultiCharts
Topic: How to use Next3rdFriday function ? [SOLVED]
Replies: 3
Views: 2020

How to use Next3rdFriday function ? [SOLVED]

The Function Next3rdFriday needs an argument. What should be the argument ?

I tought

Code: Select all

Next3rdFriday(dayofmonth(1))

but no.

What i am looking trying to achieve is to draw a vertical bar on the option expiry day.
by paul.robillard
20 Nov 2015
Forum: MultiCharts
Topic: plot vertical lines on 1st open day of the month [SOLVED]
Replies: 3
Views: 2594

plot vertical lines on 1st open day of the month [SOLVED]

Hi, I've come up with the following code trying to plot a vertical line on 1st open day of every month. I fail to see what i am missing as it's not plotting right. Can someone please point out the coding error ? Thank you --------------- {insert vertical bars every 1st open day of the month} variabl...
by paul.robillard
04 May 2012
Forum: MultiCharts
Topic: 4 points sqew in auto trading
Replies: 4
Views: 1098

Re: 4 points sqew in auto trading

ok, i just did that and 2 comes out under commisison. Does that mean i should take that commision out of the properties of the signal ?

My solution was to ajust the SL & TP accordingly, altrough i don't actually find this being the right thing to do. But it works !
by paul.robillard
04 May 2012
Forum: MultiCharts
Topic: 4 points sqew in auto trading
Replies: 4
Views: 1098

Re: 4 points sqew in auto trading

I tough about that. The broker takes 2 euros commission not 2 points. 2 points is worth 20 euros. So no, i don't think it comes from there. Plus the trade cost should not influence the entry / exit levels ! should they ?! ...
by paul.robillard
04 May 2012
Forum: MultiCharts
Topic: 4 points sqew in auto trading
Replies: 4
Views: 1098

4 points sqew in auto trading

Here i have a simple code, based on what i gathered. It works ok (it's done to generate orders, not necessarely profit;) I hope to learn the basics of auto trading from it. So 3 bars up i buy, 3 bars down is short, stoploss & takeprofit @10 points. Nothing fancy. Now when the order occurs i get a sp...
by paul.robillard
02 May 2012
Forum: MultiCharts
Topic: use of "entryprice" in auto trading
Replies: 10
Views: 1896

Re: use of "entryprice" in auto trading

What is the "IOG option" ?
by paul.robillard
02 May 2012
Forum: MultiCharts
Topic: use of "entryprice" in auto trading
Replies: 10
Views: 1896

Re: use of "entryprice" in auto trading

Do you know what the workaround is ? Obviously i'm missing out ://
by paul.robillard
02 May 2012
Forum: MultiCharts
Topic: use of "entryprice" in auto trading
Replies: 10
Views: 1896

Re: use of "entryprice" in auto trading

I realise there are a number of things that are fundamentally different in backtesting signals & live trading signals. I would like to see a resource that points out those fundamental differences. That would certainly shorten my learning curve :)
by paul.robillard
02 May 2012
Forum: MultiCharts
Topic: use of "entryprice" in auto trading
Replies: 10
Views: 1896

Re: use of "entryprice" in auto trading

When does "next bar at market" happens?
... Next bar open
When can you get the entryprice?
... Next bar when the market order went trough.

Hmmm ... I should get my TP1L & SLL out of the BEGIN ?
by paul.robillard
02 May 2012
Forum: MultiCharts
Topic: use of "entryprice" in auto trading
Replies: 10
Views: 1896

use of "entryprice" in auto trading

Hello, I'm getting in & out of the market with this code. I suspect the "entryprice" is not computed for i see the takeprofit order = 5. Why ? if .... then begin buy ("tiers1L") 1 contract next bar at market ; TP1L = (entryprice + 5) ; SLL = (lowest(low,3) - 1) ; end; // setstopposition ; setstoplos...
by paul.robillard
02 May 2012
Forum: MultiCharts
Topic: OCO order ?
Replies: 2
Views: 918

Re: OCO order ?

Ok thanks ! :) I now (seem to) get the OCO orders but i get right out of the market :// Can you tell me why ? It does not seem to compute the "entryprice" ? It all goes real fast but from the blink, i saw the TP order was set to 5 and not (entryprice + 5). Why ? if ... then begin buy ("tiers1L") 1 c...
by paul.robillard
02 May 2012
Forum: MultiCharts
Topic: OCO order ?
Replies: 2
Views: 918

OCO order ?

if .... then // would this be the right / good way to send a Buy market order with Takeprofit and Stoploss limits order to the market ? begin buy ("tiers1") 1 contract next bar at market ; TP1L = 5 ; // Take Profit "Level 1" Long SLL = (lowest(low,3) - 1) ; // StopLoss set to the Lowest Low of the 3...
by paul.robillard
02 May 2012
Forum: MultiCharts
Topic: Automated trading
Replies: 2
Views: 847

Automated trading

Hello,

I have some backtesting signals i would like to convert to automated trading signals. I figure there must be some ajustments to do in the coding, like implementing OCO orders. Where can i find related resources and help ?

Go to advanced search