PureBytes Links
Trading Reference Links
|
I am trying to color code trade signals based on
time frames
The Plot function is not working from inside the
loop...
Can anyone see a problem?
The plot I am trying to create should be 3
horizontal bars based on time frames.
The trade signals are not included in this code
for simplicity
Thanks
Ara
for (i=<FONT color=#ff00ff
size=1>1; i==<FONT color=#ff00ff
size=1>3; i++)
{
TimeFrame = IIf<FONT
size=1>(i==1<FONT
size=1>,in2minute,IIf<FONT
size=1>(i==2<FONT
size=1>,in5Minute,in15Minute));
Level = IIf<FONT
size=1>(i==1,<FONT
color=#ff00ff size=1>120,<FONT color=#0000ff
size=1>IIf(i==<FONT color=#ff00ff
size=1>2,130<FONT
size=1>,140));
Color = IIf<FONT
size=1>(i==1<FONT
size=1>,colorYellow,IIf<FONT
size=1>(i==2<FONT
size=1>,colorGreen,colorViolet));<FONT color=#0000ff
size=1>
TimeFrameSet<FONT
color=#000000>(timeframe);
Plot(Level,<FONT color=#ff00ff
size=1>""<FONT
color=#000000>,Color,styleArea);<FONT color=#0000ff
size=1>
Plot(<FONT color=#ff00ff
size=1>110,<FONT color=#ff00ff
size=1>""<FONT
color=#000000>,colorWhite,styleArea);
}
Yahoo! Groups Sponsor
ADVERTISEMENT
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
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|