Page 1 of 1

Indicore Snippets for the Visual Studio Code

PostPosted: Mon Oct 23, 2017 2:31 am
by Victor.Tereschenko
I'm tired to look at the parameters order for certain functions in the help all the time. So I decided to move all this data into the VSC extensions so the editor can show me all that information. I'm not finished yet but updating it all the time.

You can download it in the VSC extensions marketplace under the name "Indicore snippets" or here.

It looks like this:
Image

And if you want to make some changes or help to improved... you can find it on the GitHub.

Re: Indicore Snippets for the Visual Studio Code

PostPosted: Sun Jan 14, 2018 7:58 pm
by Silverthorn
Hi Victor,

How is this used / installed??

Re: Indicore Snippets for the Visual Studio Code

PostPosted: Mon Jan 15, 2018 6:29 am
by Victor.Tereschenko
You can install it in Visual Studio Code Extensions storage.

Re: Indicore Snippets for the Visual Studio Code

PostPosted: Fri Jun 29, 2018 3:43 am
by Silverthorn
Hi Victor,

I just wanted to say thank you for this awesome tool. An absolute must have for anybody wanting to code their own indicators and strategies.

:D

Re: Indicore Snippets for the Visual Studio Code

PostPosted: Wed May 01, 2019 6:25 am
by Victor.Tereschenko
The Indicore Snippets Visual Studio Code extension was updated. Two more patterns have been added:

* assignParam, wich inserts
param = instance.parameters.param;

* addStreamStyled, wich inserts
stream_name = instance:addStream(id, type, fullName, label, color, firstPeriod, extent);
stream_name:etWidth(width);
stream_name:setStyle(style);

Re: Indicore Snippets for the Visual Studio Code

PostPosted: Tue May 07, 2019 6:23 am
by Victor.Tereschenko
The Indicore Snippets for Visual Studio Code was updated. New in version 1.1.3:
- Improved assignParam
- Added createCustomIndicator for indicator creation
- Added enumTable for table enumeration

Re: Indicore Snippets for the Visual Studio Code

PostPosted: Thu May 16, 2019 1:54 am
by Victor.Tereschenko
Yet another update of the Indicore Snippets extension for the VSCode:
New in 1.1.4:
* addLineStyleParam and addLineStyleParamClipboard for indicator's line style parameter
* addStreamClipboard, addStreamOscillator, addStreamOscillatorClipboard
* indicatorPrepare
* strategyTimeframeParam, indicatorTimeframeParam for timeframe parameter
* addLineWidthParamClipboard, addLineWidthParam for indicator's line width parameter
* indicatorAddBooleanParam, strategyAddBooleanParam, indicatorAddBooleanParamClipboard, strategyAddBooleanParamClipboard for a boolean parameter
* tradingOffsets (getTradingWeekOffset + getTradingDayOffset)