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


Help with EasyLanguage
Started: by yofrankie1 Views / Replies:214 / 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,228 since Apr 2013
Thanks: 199 given, 693 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)
 

Al Brooks: When A Good Trade Goes Bad (Risk and Probabilities)

Elite only

Ran Aroussi: Quant Trading with Python

Elite only

NinjaTrader 8: Tips and Tricks (part 2)

Mar 2

An Afternoon With FIO member @michaelemoore

Elite only

Jigsaw Trading: Keys to successfully trading the open

Mar 9

Macro view: Trump Market Risk w/Piers Curran @ Amplify Trading

Elite only

Reading the Psychology of the Market w/Brett Steenbarger & Trading Technologies

Elite only

Hybrid Machine Learning (R and TradeStation) w/Murray Ruggiero

Elite only

Spring Grains Outlook w/Sean Lusk @ Walsh Trading

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 04:21 AM.

no new posts
Page generated 2017-02-22 in 0.07 seconds with 20 queries on phoenix via your IP 54.146.169.191