Click here to Login





                                                   Bi-Weekly Trading

  0

0
Amritendu Maji
2017-06-12 22:02:20


I am a newbie here and trying to learn how to program on this platform. I love the way that both admin and others help out people here.

How can I make sure that a system trades biweekly?

Thank you,
Maji



QuantShare
2017-06-14 17:23:55

  0

Best Answer
You can add the following rule to your "buy" rule
biweekly = IeeeRemainder(week(), 2) == 0 and week() != ref(week(), -1);
buy = your_rules and biweekly;



Amritendu Maji
2017-06-14 19:55:00

  0

Thank you for your help.


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
Sharpe Ratio Ranking System to Lower Trading Strategies Volatilit...
Short Term Trading System with RSI Ratios
Trading Indicator: True between the first and last signal
Word Occurrence in News Titles - Quantitative Trading Analysis
Indicator/Price Value on a Specific Trading Date

How-to Lessons
How to create a trading system
How to detect stocks trading near all time highs
How to import trading items from other accounts
How to get trading orders from a portfolio programmatically
How to optimize the number of positions in a trading system

Related Forum Threads
Help with the following trading system
Add a trading system to the price volume chart
Trading System time period not including start day
ApplyRule example in trading system
View only downloadable trading objects

Blog Posts
Volatility and trading systems
How to Backtest Your Trading System for Each Industry
10 masks to create thousands of rules to use into your trading sy...
Day Trading: A trading system that combines intraday and EOD data
Different periodicities and chart bar types in QuantShare Trading...









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 © 2025 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.