TreborNamor / TradingView-Machine-Learning-GUI

Embark on a trading journey with this project's cutting-edge stop loss/take profit generator, fine-tuning your TradingView strategy to perfection. Harness the power of sklearn's machine learning algorithms to unlock unparalleled strategy optimization and unleash your trading potential.
https://www.robertsportfolio.dev/
MIT License
756 stars 227 forks source link

two or more tradingview strategy parameters change simultaneously (enable two in the youtube video) #9

Closed asyildiz3363 closed 3 years ago

asyildiz3363 commented 3 years ago

Hi Robert, It will be very appreciated If you publish a script to do that.

May be you can explain how to tailor the script to test our own strategies.

Thanks in advance!

TreborNamor commented 3 years ago

hello! I added this project to give you the ability to change parameters simultaneously. You will probably have to update this project since a lot of files have been modified recently. If you have any more questions or recommendations, let me know! 😃

asyildiz3363 commented 3 years ago

Hello, I updated the files. It is working when I use your strategy, but I want to tailor it. For example, what changes should I make in scripts to optimize the length of a simple 2 EMA cross strategy. Thanks!

TreborNamor commented 3 years ago

That's a good question, I'll create a template that you can add to any strategy. It's pretty much just adding the stoploss and take profit inputs into script. I'll get started on it today.

On Sat, Aug 21, 2021, 5:23 PM asyildiz3363 @.***> wrote:

Hello, I updated the files. It is working when I use your strategy, but I want to tailor it. For example, what changes should I make in scripts to optimize the length of a simple 2 EMA cross strategy. Thanks!

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/TreborNamor/TradingView_Machine_Learning/issues/9#issuecomment-903183212, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOHWMRKERM55KVVD7CD5KRLT6ARMTANCNFSM43NHUFZA .

asyildiz3363 commented 3 years ago

It would be apreciated. Thanks!

asyildiz3363 commented 3 years ago

I tried the script with another strategy. It is still working, even I did not change anything. It changes first two inputs after opening the settings. If settings left in the properties tab, it also tried to change the initial capital and order size. I did not understand the logic here.

TreborNamor commented 3 years ago

I like how you are starting to understand the code. The python file does have access to the first two inputs on TradingView website. I had updated the tradingview strategy on Github last night but I have not fully updated the python script. I will need to set some rules to make sure it recognizes that it is on the input tab to fix the problem. What you need to apply from the MACD/RSI is the top part of the script where it says long strategy, short strategy, date range to your script. Then lastly copy the strategy code down below. Now that you've done that to your strategy you'll be able to use the python script on any of your strategies. Just make sure at the strategy code to create you own buy and sell signals.

If you still are having trouble don't worry I'll create a new video for you showing the new updates as well as how to apply code to any strategy.

On Sun, Aug 22, 2021, 2:39 PM asyildiz3363 @.***> wrote:

I tried the script with another strategy. It is still working, even I did not change anything. It changes first two inputs after opening the settings. If settings left in the properties tab, it also tried to change the initial capital and order size. I did not understand the logic here.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/TreborNamor/TradingView_Machine_Learning/issues/9#issuecomment-903319999, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOHWMRJWNJHXULWVOIHRS2LT6FG7HANCNFSM43NHUFZA .