PureBytes Links
Trading Reference Links
|
Just use equality == instead of single =
The former tests for equality while the latter assigns a value to a variable.
TestCondition = Conditon1 == Condtion2;//Test to see if the two values are equal.
AssignValue = Conditon1; //Assigns Conditon1 value to AssignValue variable.
Hope this helps,
Garyfsmart21 <jdgeddie@xxxxxxxxx> wrote:
This is probably an easy question for most of you guys. How do I set this parameter so that only data from the previous day (end of day data) is considered for generating buy/sell signals. Here's my buy signal:Buy = BarsSince( Cross( PDI( 3 ), MDI( 3 ) ) ) <= 1 I tried using =1 instead of <=1, but receive a syntax error. I do not want to look at data of less than one bar (daily setting). Any ideas?Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to suggest@xxxxxxxxxxxxx-----------------------------------------Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Do you Yahoo!?Win a $20,000 Career Makeover at Yahoo! HotJobs
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|