Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 07:17:50 +0000



Post From: automate

[2014-05-20 16:25:53]
vegasfoster - Posts: 444
SC doesn't have any optimization capabilities. You will have to manually make a change and then run it through each time. Is this going to work for you?

Regardless,

1. Add the High/Low For Time Period - Extended study to a new chart
2. Add the Spreadsheet System For Trading study to your chart
3. Click on settings for the spreadsheet study and in the lower left corner, give the spreadsheet a unique name, e.g. HighLowBreakout
4. In the Input window of the spreadsheet settings set

Reset Condition On New Bar - Yes
Signal Only Once Per Bar - Yes
Signal Only On Bar Close - No (for both)
Strict Signal On Bar Close Evaluation - No
5. Read up on the other settings and you can decide if you want to be able to reverse position, how many units, etc. http://www.sierrachart.com/index.php?l=doc/doc_SystemsAlerts.php#SystemInputs
6. Click 'OK', then click on the spreadsheet tab
7. To set up the start time,

in I105, 'Start Hour:'
in J105, enter the hour you want to start trading in military time as an integer, e.g. for 6:00 am would enter 6
in I106, 'Start Minute:'
in J106, enter the minute you want to start from 0 to 59
8. To tell it to enter long on break of high, in cell K3, =AND(TIME(HOUR(A3), MINUTE(A3), SECOND(A3))>=TIME($J$105, $J$106, 0), E3>AA3)
9. To tell it to enter short on break of low, in cell M3, =AND(TIME(HOUR(A3), MINUTE(A3), SECOND(A3))>=TIME($J$105, $J$106, 0), E3<AB3)
10. To exit at a specific time,

in cell I107, 'Exit Hour:'
in cell I108, 'Exit Minute:'
in cell J107, enter the hour you want to exit in military time as an integer, for 2:00 pm would enter 14
in cell J108, enter the minute you want to exit from 0 to 59
in cell J29, =TIME(HOUR(A3), MINUTE(A3), SECOND(A3))>=TIME($J$107, $J$108, 0)
11. Click on your chart and click Trade>>Attach Trade Window To Chart
12. Check the box to Use Attached Orders
13. Read this and learn how to set up your stops, targets, and breakeven http://www.sierrachart.com/index.php?l=doc/doc_AttachedOrders.html
14. Think of all the things to spend your riches on

:)