[amibroker] How to change color between horizontal lines

2006-12-01 Thread mic6399
Hi, may be this is the stupid question , but if somebody help me to change/paint background color between horizontal lines. Let say I have: some levels on the chart : Plot(12,THold, colorBlack, styleThick); Plot(20,THold, colorBlack, styleThick); How can I paint the area between this two

[amibroker] Enhance OBV

2007-01-12 Thread mic6399
Can anyone help me: I find old Amibroker code for Enhance OBV (): myobv=Cum(V*((H-O)/(H-L)))-Cum(V*((O-L)/(H-L))); Graph2=myobv; Graph2Style=1; Graph2Color=6; For some reason when I created an indicator based on this code on intraday charts I did not see anything. Any idea why this happen?

[amibroker] Re: Enhance OBV

2007-01-14 Thread mic6399
))); On 12/01/07, mic6399 [EMAIL PROTECTED] wrote: Can anyone help me: I find old Amibroker code for Enhance OBV (): myobv=Cum(V*((H-O)/(H-L)))-Cum(V*((O-L)/(H-L))); Graph2=myobv; Graph2Style=1; Graph2Color=6; For some reason when I created an indicator based on this code

[amibroker] Re: TTM Squeeze

2007-07-05 Thread mic6399
Here we go: SECTION_BEGIN(Squeesy); /* BB Squeeze (conversion for TS code) Instructions Insert Linked to new chart pane Periods can be selected in Param window */ Price = Close; Length = Param(Length,20,2,100,1); // { Length for Average True Range (ATR)} Lenght1 = Param(Length1,20,2,100,1);

[amibroker] Execute trade in the last 15 sec of current bar

2007-08-03 Thread mic6399
Hi , Could anybody help me with this? Sometimes my buy/sell signals happen inside the current bar, but before current bar close it disappear. My problem is: to execute trade in the last 15 sec of my 2 min bar (if my buy/sell signal still exist). May be somebody have a piece of code what I can

[amibroker] Execute trade in the last 15 sec of current bar

2007-08-03 Thread mic6399
Hi , Could anybody help me with this? Sometimes my buy/sell signals happen inside the current bar, but before current bar close it disappear. My problem is: to execute trade in the last 15 sec of my 2 min bar (if my buy/sell signal still exist). May be somebody have a piece of code what I can

[amibroker] Re: High, Low,Close in intraday system backtesting - Foreign symbol

2007-08-22 Thread mic6399
); day_c_f= Foreign(YM SEP 07-ECBOT-FUT,Close); TimeFrameRestore(); and it gave me all the wrong data in my backtesting... Any idea why? Thanks, Michael --- In amibroker@yahoogroups.com, mic6399 [EMAIL PROTECTED] wrote: Thanks Ara, this simple solution work for back testing

[amibroker] Re: High, Low,Close in intraday system backtesting - Foreign symbol

2007-08-26 Thread mic6399
for the foreign symbol is not calculated properly (no problem for the actual symbol). Any ideas why it happen? --- In amibroker@yahoogroups.com, Ara Kaloustian [EMAIL PROTECTED] wrote: did you expand the fuctions - see TimeframeExpan function - Original Message - From: mic6399 [EMAIL

[amibroker] Re: High, Low,Close in intraday system backtesting - Foreign symbol

2007-08-26 Thread mic6399
Hi,I tried anyway TimeframeExpan in my backtesting and it seems to be working for the my current symbol, but did not worked for Hi Lo for the foreign symbol. Guys,any ideas why? --- In amibroker@yahoogroups.com, mic6399 [EMAIL PROTECTED] wrote: Thanks for your reply Ara, but do I need