[amibroker] Re: How to get a number from an array

 

Thank you Rosenberggregg for your answer but I've got a sintax error in the line entri condition = mtRandomA() > 0.5;
my entry condition is: UpTrend = (Ref(H,-1) < H) AND (Ref(L,-1) < L) so
I wrote:

UpTrend = mtRandomA() > 0.5;

and this line of code gave me a sintax error. What exactly is mtRandomA() ?
I didn't find it in AFL reference manual.

Thanks

P.S. meanwhile I will try Alan's suggestion. Thanks Alan and TA.

__._,_.___

Posted by: gamacc@aruba.it
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (10)
**** 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/


.

__,_._,___


EmoticonEmoticon