EasyLanguage to Thinkscript - futures io
futures io



EasyLanguage to Thinkscript


Discussion in EasyLanguage Programming

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




Welcome to futures io: the largest futures trading community on the planet, with well over 150,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

EasyLanguage to Thinkscript

(login for full post details)
  #1 (permalink)
DeanW
Phoenix, Arizona
 
 
Posts: 1 since Jan 2023
Thanks: 0 given, 0 received

This is a shot in the dark, but I will ask anyway: I have a friend that gave me this strategy but it is in Easylanguage and he has no idea how to write it in Thinkscript. It seems to be a fairly simply strategy, but I have no experience with this sort of stuff. I would really appreciate any help.

input: length1(20),length2(3); //StopL(500),Proft(1000);

if close<close[200] and close>close[length1] and close<close[length2] and close>open then buy next bar at market;

if close>close[200] and close<close[length1] and close>close[length2] and close<open then sellshort next bar at market;

if barssinceentry>10 then Begin
sell next bar at market;
buytocover next bar at market;
end;

//SetStopLoss(StopL);
//SetProfitTarget(Proft);

Reply With Quote

Can you help answer these questions
from other members on futures io?
NT8 Order Management Strategy
The Elite Circle
Big Mo Indicator for NT8
NinjaTrader
in depth understanding of last, bid, and ask volume in c …
NinjaTrader
help with take profit several targets
TradeStation
Multi Time Frame High/Low/Median levels
NinjaTrader
 
 
(login for full post details)
  #2 (permalink)
 kevinkdog   is a Vendor
 
 
Posts: 3,465 since Jul 2012
Thanks: 1,827 given, 6,985 received


DeanW View Post
This is a shot in the dark, but I will ask anyway: I have a friend that gave me this strategy but it is in Easylanguage and he has no idea how to write it in Thinkscript. It seems to be a fairly simply strategy, but I have no experience with this sort of stuff. I would really appreciate any help.

input: length1(20),length2(3); //StopL(500),Proft(1000);

if close<close[200] and close>close[length1] and close<close[length2] and close>open then buy next bar at market;

if close>close[200] and close<close[length1] and close>close[length2] and close<open then sellshort next bar at market;

if barssinceentry>10 then Begin
sell next bar at market;
buytocover next bar at market;
end;

//SetStopLoss(StopL);
//SetProfitTarget(Proft);


That is a strategy I gave away at a webinar a week or two ago. It works well for Crude Oil. I'd give you the Thinkscript if I had it, but I do not program in that language.

Here is what the strategy produces:


Follow me on Twitter Reply With Quote
The following user says Thank You to kevinkdog for this post:


futures io Trading Community Platforms and Indicators EasyLanguage Programming > EasyLanguage to Thinkscript


Last Updated on January 21, 2023


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



Copyright © 2023 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
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.
no new posts