Support Board
Date/Time: Mon, 25 Nov 2024 06:46:06 +0000
Post From: auto study placing one trade
[2014-01-10 02:05:22] |
fhvtrading2 - Posts: 11 |
Figured it out how to do this. Its a nice feature to toggle between strategies. Hope somebody can use it as well. Goodluck. FHV if (sc.MenuEventID != 0) { if (sc.MenuEventID == SC_ACS_TOOL1) { if (sc.MouseEventType == SC_ACS_TOOL_ON) { Enabled.SetYesNo(1); } else if (sc.MouseEventType == SC_ACS_TOOL_OFF) { Enabled.SetYesNo(0); } } } if (!Enabled.GetYesNo()) return; // rest of the study // place an order with brackets when completed //.... // acs button to off sc.SetACSToolEnable(SC_ACS_TOOL1, false); Enabled.SetYesNo(0); Date Time Of Last Edit: 2014-01-10 02:07:41
|