[amibroker] Creating a DLL. Need access to Price and volume without sending them via a calling function in Amibroker

 

I am fairly new to the Amibroker. I am trying to add my own functions via a DLL. And some of the functions that I want to program use everything in their calculation: Close, Open, High, Low and Volume. So there is no reason in specifying this information in the calling function. The only parameter that the user has to pass to the function is the number of bars over which to calculate.


Is there a way to make Amibroker pass Price, Volume array to my DLL function without writing C,O,H,L,V in the calling function from the Amibroker?


When I type function_name(Number_of_bars) then Amibroker passes only the Number_of_bars to the ArgsTable, but I also need access to Close, Open, High, Low and Volume



__._,_.___

Posted by: smagre12@gmail.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
**** 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