Hello,
i am trying to add the parameter to the parameter window that i can optimize the strategy like to add the # of days ,% and the exit point:
CODE:
Please log in to see this code.
Size:
Color:
What is the exit point?
Size:
Color:
Hello Eugene,
when the strategy exit the trad
Size:
Color:
Here's a fragment illustrating how to add a couple of parameters to the strategy:
CODE:
Please log in to see this code.
Size:
Color:
i have no clue about programing...where i should insert it in the strategy?
Size:
Color:
Well, it's not a ready-made sample but a code snippet where the exit logic has to be worked out. If you would like to modify existing code-based strategies, here's the recommended reading from our WL5 Wiki:
How do I start with C# ?
Size:
Color:
anyone i can pay to do that for me?
Size:
Color:
Try this:
CODE:
Please log in to see this code.
Size:
Color:
Eugene Thanks so much, i was hopping to have the option to change the parameter :"three consecutive days" (to other # of days) please explain what the different from "exit after" and "stop %"
again thanks so much for your help
Size:
Color:
Exit after is a time-based stop. No matter what happens, an open position is exited after the specified number of bars from its entry bar. Otherwise, the stop exits are working - one of them is a fixed percentage stop loss.
You didn't provide specific requirements, so if you want someone to do your programming, you'll need to learn how to provide very detailed requirements. Anything else, you will not get what you're expecting.
Size:
Color: