Click here to Login




MMDivers


MMDivers
QuantShare API Documentation

MMDivers Members

Divers functions

Parent

Properties

IsFirstBar (of type Boolean) Specify whether the current bar is the first one or not
CurrentDate (of type DateTime) Current Date

Methods

Output (returns Void) (parameterless)

Set Output
MovingAverage (returns Double) (array Double[], period Int32)

Calculate the moving average of the provided array and for the specified period
Sum (returns Double) (array Double[], period Int32)

Calculate the sum of the provided array and for the specified period
Max (returns Double) (array Double[], period Int32)

Calculate the maximum value of the provided array and for the specified period
Min (returns Double) (array Double[], period Int32)

Calculate the minimum value of the provided array and for the specified period
GetAllPositions (returns MMPosition[]) (parameterless)

Get all positions generated by the simulator
GetLastClosedPositions (returns MMPosition[]) (parameterless)

Get the positios that were closed on the last period
GetOpenPositions (returns MMPosition[]) (parameterless)

Get the portfolio positions



Manual

 

Back Parent

 

Download Manual in CHM or PDF format







QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.