Help with EasyLanguage - EasyLanguage Programming | futures.io
futures.io futures trading


Help with EasyLanguage
Started: by yofrankie1 Views / Replies:154 / 12
Last Reply: Attachments:2

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


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, and we will never resell your private information.

-- Big Mike

Reply
 2  
 
Thread Tools Search this Thread
 

Help with EasyLanguage

  #11 (permalink)
Elite Member
San Diego, California
 
Futures Experience: Advanced
Platform: MultiCharts
Favorite Futures: ES, NQ
 
Posts: 26 since Mar 2016
Thanks: 0 given, 20 received

How does this look:

 
Code
[IntrabarOrderGeneration = true];

inputs:
	EMAType(10),
	StopLoss(500),
	ProfitTaking(1500);

variables:
	EMA_Trigger(0);

EMA_Trigger = XAverage(Close, EMAType);

if marketposition=0 then buy 1000 shares next bar at EMA_Trigger stop;

SetStopLoss(StopLoss);
SetProfitTarget(ProfitTaking);

Reply With Quote
 
  #12 (permalink)
Trading Apprentice
KS/Olathe
 
Futures Experience: Intermediate
Platform: TradeStation
Favorite Futures: Crude CL
 
Posts: 6 since Jan 2017
Thanks: 0 given, 0 received

Here is the result. Still not right. Thanks for trying to help though.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
 
  #13 (permalink)
 Vendor: abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,189 since Apr 2013
Thanks: 198 given, 679 received


What are you look inside bar backtesting settings? In case of intrabar order generation you should usually enable it with the highest possible resolution, otherwise your results will not be correct. This link explains it fairly well: About Intrabar Order Generation

You should also look into the reserved word "intrabarpersist" and check your logic if you need it for your variables.

Regards,

ABCTG

Reply With Quote

Reply



futures.io > > > > > Help with EasyLanguage

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

Anthony Drager: Pulling the trigger with confidence

Elite only
 

Leo Murphy: The Art and Science of Technical Analysis

Elite only
 

FuturesTrader71: Ask Me Anything

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Easylanguage help Hodon TradeStation 1 January 14th, 2016 12:25 PM
EasyLanguage HELP!! (please) :) andrewfx EasyLanguage Programming 3 July 15th, 2014 04:37 AM
EasyLanguage vs NinjaScript Traderji Platforms and Indicators 2 October 22nd, 2010 02:00 AM
Easylanguage vs. C++ Cogito ergo sum EasyLanguage Programming 10 August 2nd, 2010 03:12 PM


All times are GMT -4. The time now is 06:44 AM.

no new posts
Page generated 2017-01-23 in 0.10 seconds with 20 queries on phoenix via your IP 174.129.78.73