Hello guys, i have just downloaded the trial version of the software and It has beenhours that i am trying to set a strategy without success.
Here's my strategy I want to backtest...
Conditions:
A shooting star appears
The shooting star "high" is the highest "high" in the last 7 days
The day after the shooting star pattern, prices goes below the minumum of the shooting star. (downtrend is starting)
Stop Loss: at the "high" of the shooting star
Take profit: 2 times the height of the shooting star candlestick projected below the shooting star (so if the shooting star range = (high - low) = 5 and the minimum of the shooting star is at 25$, i want to take profit at a price level equal to 25 - (2 * 5) = 15$
I really don't know how to set those conditions, please help me!
Thank you
Size:
Color:
The buy (or short) rule isn't clear to me. What's the trigger to enter the position?
I'm not a wizard-rules expert, but it's likely that you won't be able to get that exit logic from the wizard and will need to code that by hand.
Size:
Color:
Size:
Color:
This code should do the trick:
CODE:
Please log in to see this code.
Size:
Color:
Thank you very much for your code. I swear i'm not the guy from 12 years ago, also because at that time the best thing I could trade was Pokémon cards ahahahah
can you just change a small detail? i noticed that it enters a short position two days after the shooting star (because it waits that the candle following the ss goes below the low of the ss and then the day after it shorts), is it possible to make it enter the day immediately after the ss (so as soon as the prices goes below the minimum of the ss it enters at that price)? Also if you could reduce the range multiplier from 2 to 1.5 would be great.
Thank you very much!.
Sorry if I am a pain in the neck!
p.s.
Which coding language is it? i'm trying to study python but this looks different
Size:
Color:
Glad to help you.
QUOTE:
is it possible to make it enter the day immediately after the ss (so as soon as the prices goes below the minimum of the ss it enters at that price)?
You can change this C# code to enter on close of the day:
CODE:
Please log in to see this code.
QUOTE:
Also if you could reduce the range multiplier from 2 to 1.5 would be great.
It's here:
CODE:
Please log in to see this code.
Size:
Color:
Thanks!
Size:
Color:
Thanks for your interest in Wealth-Lab!
Size:
Color: