[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: Can Anyone Figure Out The error In this Code



PureBytes Links

Trading Reference Links

Hello,

In the footer of every message it is written HOW TO UNSUBSCRIBE:

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Graham Johnson" <grahamj@xxxxxxxxxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, June 17, 2008 7:29 AM
Subject: [amibroker] Re: Can Anyone Figure Out The error In this Code


> Me too.
> Should you be removed from the forum list?
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "dojistarbullish" 
> <dojistarbullish@xxx> wrote:
>>
>> Since personal emails have not worked, here it goes on the forum:
>> 
>> Stop Spamming MEEEEEEEE.
>> 
>> --- In amibroker@xxxxxxxxxxxxxxx, "Mohit Gupta" <mohitgupta_2001@>
>> wrote:
>> >
>> > 
>> >   _SECTION_BEGIN
>> > 
>> >   //////////////////////////////// BAR SCALAR
>> /////////////////////////////////
>> > 
>> >   // When developing short-term trading systems that use 
> complicated
>> formulea
>> > 
>> >   // it helps the be able to see system response to a changing 
> bar.
>> While you 
>> > 
>> >   // can step through a price chart to try and understand system
>> behavior it is
>> > 
>> >   // much easier to just place the cursor on the chart and modify
>> the next bar
>> > 
>> >   // accoring to some user input. The code below "scales" or
>> "stretches" the bar:
>> > 
>> >   // it magnifies HLC prices wrt the Open price of the bar. This
>> allows you to
>> > 
>> >   // test your system with gradual price changes and under
>> controlled conditions.
>> > 
>> >   // This is much easier then waiting for Real-Time price changes 
> to
>> show their 
>> > 
>> >   // effect.
>> > 
>> >   SetBarsRequired(1000000,1000000);
>> > 
>> >   BI = BarIndex();
>> > 
>> >   SB = Min(LastValue(ValueWhen(SelectedValue(BI)+1 == BI,BI)),
>> BarCount-1);
>> > 
>> >   EnableScaling = ParamToggle("Apply Offset","DISABLED|ENABLED");
>> > 
>> >   ScalingFactor = Param("HLC Scaling Factor",1,0,5,0.01);
>> > 
>> >   if( EnableScaling )
>> > 
>> >   {
>> > 
>> >   Hd = H[sb]-O[sb];
>> > 
>> >   Ld = O[sb]-L[sb];
>> > 
>> >   Cd = C[sb]-O[sb];
>> > 
>> >   Hd = ScalingFactor * Hd;
>> > 
>> >   Ld = ScalingFactor * Ld;
>> > 
>> >   Cd = ScalingFactor * Cd;
>> > 
>> >   H[sb] = O[sb] + Hd;
>> > 
>> >   L[sb] = O[sb] - Ld;
>> > 
>> >   C[sb] = O[sb] + Cd;
>> > 
>> >   }
>> > 
>> >   Plot(C,"",1,128);
>> > 
>> >   _SECTION_END
>> >
>>
> 
> 
> 
> ------------------------------------
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> Yahoo! Groups Links
> 
> 
> 

------------------------------------

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/