Click here to Login





                                                   MM variables deactiavte/activate

  0

0
allan nathan
2013-12-09 20:36:30


Hi,
perhaps i am overlooking something,but is there a way "deactivate" a MM script without removing it?

I like to run the system without the MM and then with,but would prefer not to have to remove it each time,especially if I am testing multiple MM.

Thanks,

Allan



QuantShare
2013-12-10 13:03:46

  1

Currently, the only way to deactivate a MM script is by creating an input variable that if enabled would prevent script execution. But this requires updating every MM script.

Example:

(OnEndPeriod) event:

if(!disableScript)
{
[YOU CODE]
}




No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
AAA Corporate Bond Yield Forecast
Exit Position based on Profitability
RSI + SMA(200) + Hurst v001
Scale-in Trading Strategy
Large price and volume gain after consolidation

How-to Lessons
How to create a real-time watchlist
How to create a volatility-based Stop - Dynamic stop based on the...
How to optimize an indicator in your trading system
How to add a metric in the trading system simulation report
How to run a screen or a watchlist from a script

Related Forum Threads
How do I use variables in Money Management Scripts?
Global variables
How to Debug a Strategy using data variables values by day by Tic...
AMM script global variables do not appear to be thread safe
Variables and their use when creating indicators?

Blog Posts
Automatically create historical quotes charts
Troubleshooting a Trading System
Custom Indicator: Moving average spread
How to get buy and sell orders for a portfolio based on a trading...
Buy the best/top rated stocks or how to create powerful rank base...









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.