Custom study how to do?

Questions about MultiCharts and user contributed studies.
templ
Posts: 86
Joined: 19 Nov 2006
Has thanked: 2 times
Been thanked: 2 times

Custom study how to do?

Postby templ » 29 Nov 2006

For example I have this simple calculation study made in Metastock for a multispread.
I dont know how to do something like this in MC.

Thanks

Example Metastock code

refer three symbols

Code: Select all

Fut1 := Security("ONLINE:FGBLc1",C);
Fut2 := Security("ONLINE:FGBMc1",C);
Fut3 := Security("ONLINE:FGBSc1",C);

Do a calculation

Code: Select all

tickvalue := 10;
pricetick := 0.01;
Fut1 := Fut1 / tickvalue;
Fut1 := Fut1 * pricetick;

The multispread

Code: Select all

spreadM := Fut1 - (Fut2*2) - Fut3

templ
Posts: 86
Joined: 19 Nov 2006
Has thanked: 2 times
Been thanked: 2 times

Postby templ » 29 Nov 2006

Sorry,
I searched the forum and I can't find a Helpfile in PLEditor.
What can i do with PLEditor and how. I never did something with TS easylanguage etc.

Thanks

User avatar
Alex Kramer
Posts: 834
Joined: 23 Feb 2006

Postby Alex Kramer » 30 Nov 2006

The PLEditor is covered in detail in the MultiCharts help itself.
That document covers various aspects of controlling the PLEditor, writing, compiling and using the code etc.
As concerns the EasyLanguage, a number of guides can be found in the Web for free, like the original TS guides at

https://www.TS.com/support/books/default.aspx

templ
Posts: 86
Joined: 19 Nov 2006
Has thanked: 2 times
Been thanked: 2 times

Postby templ » 30 Nov 2006

The PLEditor is covered in detail in the MultiCharts help itself.

If I search the word PLEditor in MultiCharts help, the return is no results found.

User avatar
Alex Kramer
Posts: 834
Joined: 23 Feb 2006

Postby Alex Kramer » 30 Nov 2006

What version are you using?

Here's a screenshot from the Help of the .1126 beta.
Attachments
search.PNG
search.PNG (14.69 KiB) Viewed 454 times

templ
Posts: 86
Joined: 19 Nov 2006
Has thanked: 2 times
Been thanked: 2 times

Postby templ » 30 Nov 2006

Here's my screenshot from the Help of version 1.90.468.865
Attachments
help.JPG
Help of version 1.90.468.865
help.JPG (70.28 KiB) Viewed 471 times

User avatar
Alex Kramer
Posts: 834
Joined: 23 Feb 2006

Postby Alex Kramer » 30 Nov 2006

Could you please make a screenshot of the Inhalt tab? in the 1126 beta it looks like this:
Attachments
232.PNG
232.PNG (7.31 KiB) Viewed 465 times

templ
Posts: 86
Joined: 19 Nov 2006
Has thanked: 2 times
Been thanked: 2 times

Postby templ » 30 Nov 2006

Could you please make a screenshot of the Inhalt tab? in the 1126 beta it looks like this:

Alex I had no beta it was a normal version 1.90.468.865

So, now I installed a beta 1126 on an other machine and everything is nice! (I have the same as your screenshot of the Inhalt tab)

I see you did a lot of changes etc... if I compare on a first view to my normal version 1.90.468.865!

Thanks

But now I see it is a little bit less from content "Creating Studies". Would be nice if there would be a little simple example, that a beginner can get an idea how it is working...
Attachments
PLEditor.JPG
PLEditor.JPG (76.69 KiB) Viewed 450 times

templ
Posts: 86
Joined: 19 Nov 2006
Has thanked: 2 times
Been thanked: 2 times

Postby templ » 30 Nov 2006

OK, now I have it!
http://www.tssupport.com/support/tutorials/
Write something in PLEditor compile it and than it is available in the insert study dialogue in MultiCharts and can be insert in a chart.
This simple mechanism was not clear for me... Now it is. :idea:


Return to “MultiCharts”