Page 1 of 2

Strategy Generator

PostPosted: Thu Dec 07, 2017 4:17 am
by Victor.Tereschenko

Every time developing the strategy I dreamed about such a service. I just tired to write all this code from the scratch or copy-paste it. Every time I make some small mistakes like a typo or forgot to check something technical (not related to the trading algorithm). Copy-pasting kind of solves this issue but... there is a high chance to forget to copy-paste something, or copy-paste more than you need to. Or to forget to modify the copy-pasted code. And when you find a bug in the copy-pasted code you need to modify hundreds of strategies/indicators which contain this piece of code.

After all of that, I decided to write a strategy generator by myself.

And, finally, after six months of development, I released the first ever version which can do something useful.

The set of features is limited but the basic functionality is here. You can generate basic strategies or use the generated code as a base for father development. It's still the early stage for the service, so there could be some bugs.

In the near future, I plan to add more features (like breakeven logic), improve the user interface and add support for other trading platforms.

If you have any ideas or find any issues let me know.

Re: Strategy Generator

PostPosted: Thu Dec 07, 2017 6:23 pm
by Cactus
Sounds amazing. I will give it a try. I have been working on something similar myself. A program in python code that accepts strategy conditions and indicators to specify in plain english terms, which in turn spits out a ready to use lua strategy (based on fx strategy wizard template from this forum)

Re: Strategy Generator

PostPosted: Thu Dec 28, 2017 4:47 am
by Victor.Tereschenko
From now on you can generate your strategies for the TradingView's Pine Script. Pine Script is quite limited compared to other platforms, so not every strategy could be written in Pine Script. And our service doesn't support all features of the Pine Script. We will add more features in the future releases.


Along the Pine Script support, we fixed some of the issues for the FXCM Lua strategy generated code. And you can notice some UI improvements as well.

Happy holidays!

Re: Strategy Generator

PostPosted: Mon Jan 01, 2018 8:09 am
by Victor.Tereschenko
Happy New Year!
January 1st update...

FXCM Lua improvements:

* Use of bool indicator in conditions:
stoch.K cross over 80 and allow_buy
* Double/float parameters support

TradingView Pine Script improvements:

* Integer parameters support
* Boolean parameters support
* Double/float parameters support
* Exit action support
* Exit buy/sell actions support
* Entry buy/sell actions support

User interface improvements:

* Double/float parameters support
* No more page refresh on parameter id change

Re: Strategy Generator

PostPosted: Mon Jan 15, 2018 2:56 am
by Victor.Tereschenko
Telegram messenger has become quite popular recently. And we created a new service - a Telegram bot for notifications via Telegram messenger.

To use it you need:
- to be registered on our web-site (
- start a conversation with our Telegram bot
- follow the bot instruction to link Telegram account
- modify your strategy to send notifications

To modify your strategy you need:
- copy-paste the signaler module which you can download here.
- add the next code into the Init function:
Code: Select all

- into the Prepare function:
Code: Select all
signaler.StrategyName = "your strategy name here";

-into the ExtAsyncOperationFinished function:
Code: Select all
signaler:AsyncOperationFinished(id, success, message, message1, message2);

- and when you want to send an alert just call
Code: Select all
signaler:Signal("Alert message", source);

And we added some other changes along the way:
- Beta 2018 yearly plan. Valid for a year after purchase
- Compact sources layout in strategy builder
- Litecoin, Bitcoin Cash, Ethereum payments

Febuary 22, 2018 Update

PostPosted: Thu Feb 22, 2018 1:28 am
by Victor.Tereschenko
There is only one major feature in this release: the ability to specify indicator parameters.

Also, the Telegram bot is more stable now.

Re: Strategy Generator

PostPosted: Tue Mar 13, 2018 8:54 am
by Victor.Tereschenko
New in this release:
- Support of Pine Script indicator: ATR, EMA, SWMA, TSI, VWAP, VWMA, WMA, CCI
- Improved stability of telegram bot

Re: Strategy Generator

PostPosted: Fri Apr 20, 2018 4:30 am
by Victor.Tereschenko
New in this release:

  • A lot of bugs has been fixed
  • Price parameters support in Pine Script
  • Once-per bar trades for Lua
  • Setting default stop/limit in the generated code for Lua
  • Close on opposite option for Lua

Re: Strategy Generator

PostPosted: Tue Jun 19, 2018 1:10 am
by Victor.Tereschenko
We simplified the process of getting a key from our Telegram bot. Now all you need is to start a conversation with the bot.

The bot can post notification/alerts into your Telegram channel. Our bot will tell you what you need to do for that.

The code generator got some bug fixes.

Re: Strategy Generator

PostPosted: Tue May 21, 2019 7:54 am
by kiran sahu
New in this discharge:

A great deal of bugs has been fixed .
Value parameters support in Pine Content.
Once-per bar exchanges for Lua .
Setting default stop/limit in the created code for Lua .
Close on inverse alternative for Lua.