02-04-2008, 01:27 PM
|
#2 |
Join Date: Feb 2007 Location: US Thanks: 86
Thanked 206 Times in 89 Posts
| Re: Locking Indicators This is an eKam code Quote: |
Ask your customer to send you his customer ID (aka Account Number, or Account ID in EL). Assuming his account ID is 12345678, change all the buy/sell statements to the following:
| Code: var:
thisGuysAccountID("12345678"),
expiration(ELDate(4,15,2005)), { month, day, year }
stillRuns(false);
stillRuns = date < expiration
and lastCalcDate < expiration
and currentDate < expiration
and (LastBarOnChart = false
or GetAccountID = thisGuysAccountID); Quote:
What this does is that it will still work for back testing, but not for real time bars unless the account ID matches. In any case, your strategy will only work for bars and charts before the expiration date, and only if the PC date has not reached the expiration date.
Verify the code and export the ELD protected, and send that particular ELD to him.
| Account number is under Format, Account Orders .. Account no. |
| |