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

Re: [amibroker] Re: Explore



PureBytes Links

Trading Reference Links

They changed for me in the automatic analysis window

On Sat, Oct 4, 2008 at 2:50 PM, Stan Graham <asahi3@xxxxxxxxxxx> wrote:

Hi, Tony
Thanks for your effort but I cannot get it to function, I can see the
param change (have a print out to the screen) but the columns do not
change!
Stan

--- In amibroker@xxxxxxxxxxxxxxx, "Tony Grimes" <Tonez.Email@xxx>
wrote:


>
> Seems to work for me. I modified it a bit so I could run it, but
the columns
> change when I toggle the parameter - 1 to 0.
>
> Segment1U = Segment2U = Segment3U = Segment4U=1;
> Segment1D = Segment2D = Segment3D = Segment4D =1;
>
> SrchUpDn = Param("Search Up-Down",True,False);
> //(OR SrchUpDn = Param("Search Up-Down",1,0);)
>
> if(SrchUpDn >= 1 )
> {Filter = Segment1U OR Segment2U OR Segment3U OR Segment4U;
> AddColumn(C,"Price");
> AddColumn(1,"Entry",1.2);
> AddColumn(2,"Seg1U",1.2);
> AddColumn(3,"Seg2U",1.2);
> AddColumn(4,"Seg3U",1.2);
> AddColumn(5,"Seg4U",1.2);
> AddColumn(5,"Cond1UP",1.2);
> AddColumn(6,"Cond2UP",1.2);}
> else
> {Filter = Segment1D OR Segment2D OR Segment3D OR Segment4D;
> AddColumn(C,"Price");
> AddColumn(6,"Entry",1.2);
> AddColumn(5,"Seg1D",1.2);
> AddColumn(4,"Seg2D",1.2);
> AddColumn(3,"Seg3D",1.2);
> AddColumn(2,"Seg4D",1.2);
> AddColumn(1,"Cond1DN",1.2);
> AddColumn(0,"Cond2DN",1.2);}
>
>
> On Sat, Oct 4, 2008 at 1:45 PM, Stan Graham <asahi3@xxx> wrote:
>
> > Hi, Folks
> > I have been trying to change the Exploration from the Param input
as
> > follows:
> >
> > SrchUpDn = Param("Search Up-Down",True,False);
> > (or SrchUpDn = Param("Search Up-Down",1,0);)
> >
> > if(SrchUpDn >= 1 )
> > {Filter = Segment1U OR Segment2U OR Segment3U OR Segment4U;
> > AddColumn(C,"Price");
> > AddColumn(Entry,"Entry",1.2);
> > AddColumn(Segment1U,"Seg1U",1.2);
> > AddColumn(Segment2U,"Seg2U",1.2);
> > AddColumn(Segment3U,"Seg3U",1.2);
> > AddColumn(Segment4U,"Seg4U",1.2);
> > AddColumn(Cond1UP,"Cond1UP",1.2);
> > AddColumn(Cond2UP,"Cond2UP",1.2);}
> > else
> > {Filter = Segment1D OR Segment2D OR Segment3D OR Segment4D;
> > AddColumn(C,"Price");
> > AddColumn(Entry,"Entry",1.2);
> > AddColumn(Segment1D,"Seg1D",1.2);
> > AddColumn(Segment2D,"Seg2D",1.2);
> > AddColumn(Segment3D,"Seg3D",1.2);
> > AddColumn(Segment4D,"Seg4D",1.2);
> > AddColumn(Cond1DN,"Cond1DN",1.2);
> > AddColumn(Cond2DN,"Cond2DN",1.2);}
> >
> > It does not change from the first block (Up Segments) even though
the
> > Param input does change from 1 to 0. I have tried
> > inputting "True/False" - 1/0 and > and cannot get it to change to
the
> > second block! Anyone know how to do this? Any help would be
welcome...
> > Stan
> >
> >
> >
>


__._,_.___

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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

*********************************




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___