Hi I have a random entry generating strategy that can scale out. But I am having trouble implementing a scale in feature. I want to do coin toss experiments comparing scale in scale out and AIAO. but i just cant figure out how to add scaling in. I am looking to enter a random position then add 1 when the Market Position is = 1 or MP = -1.
what are the problems you are facing with the scale in part? Do you have it coded and it doesn't do what you have in mind or do you have problems with how to implement it?
If the signal is long and you want to scale in, should add positions on every new bar until the maximum allowed position size is reached?
I do not have it coded. I tried and failed. I posted the code above which does not scale in but can compile. I want it to scale in at a certain amount of ticks after entry which will be selectable. For example if we go long, i would like to select to scale in after 10 ticks in profit, or 10 ticks at a loss. Reverse for shorts. The above code does random generation already so its just a matter of figuring out how to add the new type of order management.
That thread moved onto other topics. Since TreyDog created this thread just for scaling, and what I am doing is so similar, it makes more sense for me to post here and revive this thread.
TreyDog wanted to compare Scaling in and Scaling out to AIAO. I want to use Scaling In and Scaling Out simultaneously and indefinitely. Does regular Multicharts (not .NET) support this?
Must my entry and exit be coded in the same one signal for this to work? If my entry signal and my exit signal are each an independent signal with independent code, and both signals are added to the same chart, does scaling in and scaling out become impossible to achieve?
For scaling in, I was hoping to merely check the signal properties check box to "Allow up to _____ entry orders in the same direction... "
Meanwhile, on the exit side of things, I was building an independent exit signal to exit only 1 contract each time my exit signal is true and my CurrentEntries > 1.
I was hoping the combination of these two things would allow me to scale in and scale out repeatedly and indefinitely, possibly always being in a trade. (I understand I can't be long and short at once) My real question is with the scaling in and scaling out at the same time.
you can build that and it will work fine in backtesting. If you create issues in realtime will depend on your exact strategy. If you have multiple orders in the market, Multicharts will cancel and resend them in case one order changes.This can become problematic if you handle many open orders at the same time and constantly have to delete/change at least one of them.
The following user says Thank You to ABCTG for this post: