NexusFi: Find Your Edge


Home Menu

 





General question about my algorithm


Discussion in EasyLanguage Programming

Updated
    1. trending_up 1,195 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread

General question about my algorithm

  #1 (permalink)
anotheruser
San Francisco
 
Posts: 1 since Oct 2016
Thanks Given: 0
Thanks Received: 0

Hi folks,

I am trying to execute algorithm below every Monday.

It opens two near weekly positions on MONDAY 12pm:

1) vertical call OTM spread with strike prices around 1.1 CurrentPrice and 1.6CurrentPrice
2) Buy Call ATM - 33% asset

It closes one or more of the positions based on IFs below and remaining positions close on the same week Friday 12pm.

Is there someone who can help me write this and also backtest? other suggestions?



--------------------------------------

Here are the main lines I looked up from manual:

POSITION 2 = 0.5 x POSITION 1

Open Position on Monday 12pm weekly options: (If MONDAY closed open on Tuesday)

POSITION 1: Vertical Call [ (GenerateStrike (3, .5), GenerateStrike (6, 1) ] & volume > 100
POSITION 2: Call Buy Stike= Strike of option(OS_FindCall(1,0)) ;


If SHORTED Vertical CALL ContractProfit >= 75% Then Buy This Bar on Close; Sell ATM Call If less than two days to expiration (Thursday, Friday)
If LONG Vertical CALL ContractProfit >= 200% Then Sell This Bar on Close;


Close remaining Positions on (same week Friday 12pm )

----------------------------------------------------

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
What broker to use for trading palladium futures
Commodities
Quantum physics & Trading dynamics
The Elite Circle
Cheap historycal L1 data for stocks
Stocks and ETFs
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
22 thanks
What is Markets Chat (markets.chat) real-time trading ro …
19 thanks
ApexTraderFunding.com experience and review
15 thanks
GFIs1 1 DAX trade per day journal
15 thanks
EG Indicators
11 thanks




Last Updated on October 23, 2016


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts