Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 16:43:19 +0000



Post From: Scaling in using a study

[2013-07-14 16:31:43]
flyboy615 - Posts: 56
Hi,

What I would like to do is to be able to scale into a trade via a study. The initial order would use an configuration file for entry and any additional entries, using buy stop limit or sell stop limit, will add to the position, target and stop. I can achieve this manually via the trade dome but this approach doesn't seem to work via a study.

If I just set SupportTradingScaleIn to true I get multiple stops and targets based on the new entry. If I disable SupportAttachedOrdersForTrading, I can add to the position but the quantities for the stops and targets are not increased.

What I’m doing is to enable SupportAttachedOrdersForTrading for the first order; Disable it after the order is placed and enabling SupportTradingScaleIn for the later entries. SupportTradingScaleIn is done just prior to each additional entry since SupportTradingScaleIn has to be done outside of the sc.defaults.

I have tried various combinations of settings without any effect. Is there a way to emulate the scalein ability found in the dome?

Thanks

Date Time Of Last Edit: 2013-07-14 16:43:04