PureBytes Links
Trading Reference Links
|
Dear Reinsley,
Many thanks for your help.
I could not solve my problem because I get 'syntex error' while using it. It shows there is some error in or after the wording "actionString=buildAction(symb,Action, LastValue".
Can you please check and advise me how to solve it?
Thanks again.
vgakkhar
On Fri, 25 Sep 2009 12:05:57 +0530, reinsley <reinsley@xxxxxxxx> wrote:
>
> Hi,
>
> I kept these few lines that could help you. I never used them.
> You could retrieve the thread in the ABlist forum.
>
> Best regards
>
>
> // function to log trade and see alert
>
> this function act as a simulated broker. but i find that
> the alertif is logging the trades written to the csv file and the alert
> window is active
>
> Action is one of 2 strings "Buy" or "Sell"
>
>
> function doTrade(symb,Action){
>
> actionString=buildAction(symb,Action, LastValue
> (Close) ,DateTimeToStr( GetPlaybackDateTime() ));
> fh = fopen( "trades.csv", "a");
> if( fh )
> {
> fputs( actionString +"\n", fh );
>
> fclose( fh );
> }
>
>
> ActionNumber = IIf(Action == "Buy", 1, 2);
> AlertIf(True,"" ,actionString,ActionNumber,1);
> instead of:
> AlertIf(True,Action ,actionString,0,1);
>
> }
>
> since Action represents the content of the message generated
> (e.g "Buy {symbol} at {price}...), not the form the message takes
> (e.g. message window, command, e-mail, sound).
>
>
> Vinay Gakkhar. a écrit :
>> Dear learned senior members,
>>
>> I have an Alertif condition in my formula. When I auto-update the quotes
>> using Amibroker after every 1 minute, it alerts me when my condition is
>> met. But instead of alerting me for all stocks for which this condition
>> is met during this 1 minute, it alerts me only for the currently
>> selected one stock. How to set it to alert if for all stocks where
>> condition is met?
>>
>> My sincere thanks for helping me.
>>
>> Vinay Gakkhar
>>
>>
>>
>
>
>
> ------------------------------------
>
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> Yahoo! Groups Links
>
>
>
>
--
------------------------------------
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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/
|