Source: https://fxcodebase.com/code/viewtopic.php?f=31&t=68453
Forum: 31 · Topic 68453 · 30 post(s)
Apprentice · Sat May 11, 2019 6:47 am


Based on request. viewtopic.php?f=27&t=68449
Multi-Instrument TSI Strategy.lua
Infime · Thu Aug 22, 2019 1:13 pm
Hi Apprentice,
I visited the all site and I don’t find my happinness cause it doesn’t exist my (all or a small) strategy code using TSI. Could you create a new code with my strategy uses TSI and others indicators ? I think and I hope I’m on the good board … I explain what I have :
2) Trading in sell
I hope you’ll understand et could create this new strategy. Thank you for your job !
Infime · Fri Aug 23, 2019 6:52 am
Hi again,
I need to add an explain about the open and close position ; When I open a position ?
It’s hard to explain the all of strategy.
Thanks a lots !
Apprentice · Mon Sep 02, 2019 6:31 am
Try this version. viewtopic.php?f=31&t=68870 I hope I understand your request.
Infime · Fri Sep 06, 2019 7:11 am
Thank you, I’ll try this version and I’ll come back if I need to add something !
Infime · Fri Sep 20, 2019 5:50 am
Hi Apprentice,
The TSI strategy is good but not exponential well I’m trying something new and always based on the TSI and more simple Let’s explain the indicators : 1) RLW (14) 2) TSI (7;14) 3) DONCHIAN CHANNEL OF RSI (MA period 14)
So, Trading in buy : I need my RLW is under the level -80, my TSI under the level 0 and the middle line of my Donchian Channel of RSI is touching the low line. If these condition are united, I wait the TSI line finish to go down and then I buy when it’s just go up.
Trading in sell : I need my RLW is upper the level -20, my TSI upper the level 0 and the middle line of my Donchian Channel of RSI is touching the top line. If these condition are united, I wait the TSI line finish to go up and then I sell when it’s just go down.
When close the positions ? When the TSI finish to go up till it go down (for the buy position) and when the TSI finish to go down till it go up (for the sell position).
That’s all
But if you can add an option where a second position can be buy or sell in the D1 period trading with the same conditions that the M1 period trading, it’s perfect. And only for this, add a stop loss with 150 pip’s. I’m scared if the loss is more than ..
Thank you for your attention and I hope it will works well !
Infime · Thu Sep 26, 2019 7:44 am
Sorry Apprentice I need to correct something…
In buy : “…the middle line of my Donchian Channel of RSI is touching the low line” -> The correction is “the middle line of my Donchian Channel of RSI has touched the low line”.
In sell : “…the middle line of my Donchian Channel of RSI is touching the top line” -> The correction is “the middle line of my Donchian Channel of RSI has touched the top line”.
Thanks a lot !
Apprentice · Sat Sep 28, 2019 4:06 pm
Your request is added to the development list. Development reference 140.
Apprentice · Fri Oct 04, 2019 5:54 am
Try this version.
Infime · Fri Oct 04, 2019 11:59 am
Hi,
I checked the strategy but there is a fault (sorry it’s mine)… Look the picture to understand. In 1 : It’s this “In buy : “the middle line of my Donchian Channel of RSI has touched the low line”.” In 2 : It’s this “In sell : “the middle line of my Donchian Channel of RSI has touched the top line”.” So, the low and top lines are not the lines that determine the levels (Look the pink lines) ; it’s not this. I would like that the middle line (my current course) of my DC of RSI has touched the variation of the DC of RSI (Look the number 1 and 2).
If it has touched these lines, if there was oversold or overbought (Look the I and II), wait that my TSI finish to go down or up (Look the A and B), to buy in A’ and close the position to sell in B’.
I think there was just the problem of my DC of RSI
Thanks Apprentice !
Apprentice · Mon Oct 14, 2019 5:10 am
Your request is added to the development list. Development reference 4873.
Apprentice · Tue Oct 15, 2019 10:51 am
My team to NOT understand the logic. Can you please provide complete entry/exit rules. Try to use pseudo logic instead of description.
Infime · Tue Oct 15, 2019 4:01 pm
So, I’ll be more simple with another indicator,
1) Time frame M1 :
Open a buy position when the lines of stochastics were crossed themself under an imagniry line (under the level 50) and when the TSI begin to go up. Close the position when my TSI finishes to go up. Open a sell position when the lines of stochastics are crossing themself upper an imagniry line (upper the level 50) and when the TSI begin to go down. Close the position when my TSI finishes to go down.
2) Time frame D1 : The same but my TSI is on 7/14.
I hope you’ll understand, thanks.
Apprentice · Sun Oct 27, 2019 4:43 am
Your request is added to the development list. Development reference 250.
Apprentice · Wed Oct 30, 2019 5:53 am
Try this version.
Infime · Tue Nov 19, 2019 2:09 pm
Hi Apprentice,
Is it possible to create a strategy with two custom indicators (of your website) and one classic indicator ? The indicators are : breakout, Profitmatrix and TSI (classic). Open position in buy when the profitmatrix is green and when the current course is crossing the top line of the breakout in increase. Close the position when the TSI reverse. Open position in sell when the profitmatrix is red and when the current course is crossing the bot line of the breakout in decrease. Close the position when the TSI reverse.
Can you add option for email alert when a sell or buy position is open ?
Thank you very much !
Apprentice · Wed Nov 27, 2019 6:14 am
Can you provide links for breakout and Profitmatrix? Define TSI reverse?
Infime · Wed Nov 27, 2019 6:54 pm
Hi,
I don’t know if it will work with theses links ;
Breakout indicator : viewtopic.php?f=17&t=966&hilit=breakout (breakout.lua) Postby Nikolay.Gekht » Thu May 06, 2010 12:15 am
ProfitMatrix : viewtopic.php?f=17&t=66586&p=129819&hilit=profit+matrix#p129819 (ProfitMatrix.lua) by Apprentice » Wed Aug 22, 2018 8:36 am
And to close position, I have a normal TSI who increase in buy and decrease in sell. Close the position when the TSI reverse.
Thanks very much !
Apprentice · Thu Nov 28, 2019 4:03 am
Your request is added to the development list. Development reference 369.
Apprentice · Thu Nov 28, 2019 7:29 am
Try this version. viewtopic.php?f=31&t=69168
SANTOSH · Mon Mar 09, 2020 12:41 pm
Can it be made multi time frame too ? With two additional options in the menu -
Regards, Santosh.
Apprentice · Tue Mar 10, 2020 5:51 am
Your request is added to the development list. Development reference 847.
Apprentice · Wed Mar 11, 2020 5:28 am
Try this Multi-Instrument version.
Multi-Instrument MTF TSI Strategy.lua
SANTOSH · Wed Mar 11, 2020 12:55 pm
Hi all , Following errors:
Kindly fix the above .
Apprentice · Fri Mar 13, 2020 5:52 am
Your request is added to the development list. Development reference 864.
Apprentice · Mon Mar 16, 2020 6:06 am

1.It has 2.It alerts when the trading is disabled.
SANTOSH · Mon Mar 16, 2020 9:34 am
Here is the difference :
check below pics for both .
Apprentice · Mon Mar 16, 2020 1:57 pm
In backtesting, By default, this parameter is set to true. If you set it to false, backtesting makes no sense.
SANTOSH · Mon Mar 16, 2020 2:07 pm
The reason to make bool for trade in backtesting is to see the alerts how it makes in multi- instrument and multiframe .Can you provide it ?
Apprentice · Tue Mar 24, 2020 8:34 am
Can NOT help you on this issue.