PureBytes Links
Trading Reference Links
|
I have Version 8.
I have an Expert that has a commentary. I use 2 separate Writeif
statements.
I notice that if the 2nd Writeif statement is executed. The text that
is displayed, is displayed with an extra blank line.
Could you please tell me how to fix this?
I end up having 8 Writeifs, so maybe I should replace them with some
kind of case statement.
Either way, I am unsure why I am adding an extra blank line on each
Writeif statement.
Here is some sample code as an example.
--------------------------- begin
<Expert>
<name> (<symbol>)
<date>
Writeif(ROC( CLOSE,30, PERCENT ) > 0 AND
ROC( CLOSE, 20, PERCENT ) > 0 AND
C>MOV(C,200,S),"All 3 indicators has signaled a Buy signal. ")\
Writeif(ROC( CLOSE,50, PERCENT ) < 0 AND
ROC( CLOSE, 30, PERCENT ) < 0
AND C<MOV(C,50,S),"All 3 indicators has signaled a Sell short
signal. ")\
--------------------------- end
TIA,
larryTAKEOUT@xxxxxxxxxx
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/zMEolB/TM
---------------------------------------------------------------------~->
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/Metastockusers/
To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|