NexusFi: Find Your Edge

Home Menu


General question about my algorithm

Discussion in EasyLanguage Programming

    1. trending_up 1,187 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)
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:


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?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
Better Renko Gaps
The Elite Circle
Exit Strategy
Pivot Indicator like the old SwingTemp by Big Mike
Platforms and Indicators
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
31 thanks
My NQ Trading Journal
21 thanks
Just another trading journal: PA, Wyckoff & Trends
17 thanks
Tao te Trade: way of the WLD
13 thanks
HumbleTraders next chapter
9 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