QQE Code Help Powerlanguage/Easylanguage - EasyLanguage Programming | futures io social day trading
futures io futures trading


QQE Code Help Powerlanguage/Easylanguage
Updated: Views / Replies:2,137 / 3
Created: by dhiebert Attachments:2

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

QQE Code Help Powerlanguage/Easylanguage

  #1 (permalink)
Zoxotrader
Nanaimo, BC Canada
 
Futures Experience: Intermediate
Platform: IB
Broker/Data: ib
Favorite Futures: Stocks
 
Posts: 25 since Nov 2012
Thanks: 20 given, 7 received

QQE Code Help Powerlanguage/Easylanguage

Hoping someone can help me with this code. I have multicharts, thus it uses powerlanguage, which I believe works the same as easylanguage (sorry I'm a newby at this). I found this code online for easylanguage, and am trying to create it for my multicharts. I am getting an error (please see pic attached).

inputs:
double RSIPrice( Close ), { the price to be used in the calculation of the RSI }
int RSILength( 14 ), { the number of bars to be used in the calculation of the RSI }
int RSISmoothLength( 5 ), { the length of the exponential moving average of the
RSI; this value determines the smoothing factor used in the exponential moving
average calculation }
int ATRLength( 27 ), { the length of the exponential moving average of the
true range of the smoothed RSI }
int ATRSmoothLength( 27 ), { the length of the exponential moving average of the
moving average of the true range of the smooth RSI }
double FastATRMult( 2.618 ), { a scaling factor that is multiplied by the moving
average of the moving average of the true range of the smooth RSI }
double SlowATRMult( 4.236 ), { a scaling factor that is multiplied by the moving
average of the moving average of the true range of the smooth RSI }
double SmoothRSIAlertLevel( 50 ) ; { if alerts are enabled for the indicator, an
alert will be triggered if the smoothed RSI crosses the level specified by this
input }
variables:
double RetVal( 0 ), double oSmoothRSI( 0 ),
double oFastTL( 50 ),double oSlowTL( 50 ),
intrabarpersist bool OkToPlot( false ) ;
RetVal = QQE( RSIPrice, RSILength, RSISmoothLength, ATRLength, ATRSmoothLength,
FastATRMult, SlowATRMult, oSmoothRSI, oFastTL, oSlowTL ) ;
{ do not plot until all exponential moving averages have stabilized }
once( CurrentBar > 4 * MaxList( RSILength, RSISmoothLength, ATRLength,
ATRSmoothLength ) )
OkToPlot = true ;
if OkToPlot then begin
Plot1( oSmoothRSI, "SmoothRSI" ) ;
Plot2( oFastTL, "FastTL" ) ;
Plot3( oSlowTL, "SlowTL" ) ;
Plot4( SmoothRSIAlertLevel, "SmRSIAlrtLev" ) ;
{ alerts }
if AlertEnabled then
if oSmoothRSI crosses over SmoothRSIAlertLevel then
Alert( "SmoothRSI crossing over " + NumToStr(SmoothRSIAlertLevel, 5 ) )
else if oSmoothRSI crosses under SmoothRSIAlertLevel then
Alert( "SmoothRSI crossing under " + NumToStr(SmoothRSIAlertLevel, 5 ) );
end ; // if OkToPlot

Attached Thumbnails
QQE Code Help Powerlanguage/Easylanguage-qqeprob.png  
Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Montreal
 
Futures Experience: Intermediate
Platform: MultiCharts
Broker/Data: IB Canada/IQFeed
Favorite Futures: TF, CL
 
Posts: 281 since Jul 2011
Thanks: 306 given, 355 received



dhiebert View Post
Hoping someone can help me with this code. I have multicharts, thus it uses powerlanguage, which I believe works the same as easylanguage (sorry I'm a newby at this). I found this code online for easylanguage, and am trying to create it for my multicharts. I am getting an error (please see pic attached).

inputs:
double RSIPrice( Close ), { the price to be used in the calculation of the RSI }
int RSILength( 14 ), { the number of bars to be used in the calculation of the RSI }
int RSISmoothLength( 5 ), { the length of the exponential moving average of the
RSI; this value determines the smoothing factor used in the exponential moving
average calculation }
int ATRLength( 27 ), { the length of the exponential moving average of the
true range of the smoothed RSI }
int ATRSmoothLength( 27 ), { the length of the exponential moving average of the
moving average of the true range of the smooth RSI }
double FastATRMult( 2.618 ), { a scaling factor that is multiplied by the moving
average of the moving average of the true range of the smooth RSI }
double SlowATRMult( 4.236 ), { a scaling factor that is multiplied by the moving
average of the moving average of the true range of the smooth RSI }
double SmoothRSIAlertLevel( 50 ) ; { if alerts are enabled for the indicator, an
alert will be triggered if the smoothed RSI crosses the level specified by this
input }
variables:
double RetVal( 0 ), double oSmoothRSI( 0 ),
double oFastTL( 50 ),double oSlowTL( 50 ),
intrabarpersist bool OkToPlot( false ) ;
RetVal = QQE( RSIPrice, RSILength, RSISmoothLength, ATRLength, ATRSmoothLength,
FastATRMult, SlowATRMult, oSmoothRSI, oFastTL, oSlowTL ) ;
{ do not plot until all exponential moving averages have stabilized }
once( CurrentBar > 4 * MaxList( RSILength, RSISmoothLength, ATRLength,
ATRSmoothLength ) )
OkToPlot = true ;
if OkToPlot then begin
Plot1( oSmoothRSI, "SmoothRSI" ) ;
Plot2( oFastTL, "FastTL" ) ;
Plot3( oSlowTL, "SlowTL" ) ;
Plot4( SmoothRSIAlertLevel, "SmRSIAlrtLev" ) ;
{ alerts }
if AlertEnabled then
if oSmoothRSI crosses over SmoothRSIAlertLevel then
Alert( "SmoothRSI crossing over " + NumToStr(SmoothRSIAlertLevel, 5 ) )
else if oSmoothRSI crosses under SmoothRSIAlertLevel then
Alert( "SmoothRSI crossing under " + NumToStr(SmoothRSIAlertLevel, 5 ) );
end ; // if OkToPlot

Not sure but that looks like a function to me and not an indicator. You need to save that code as a function and create the indicator.

I have attached a QQE indicator.

Attached Files
Register to download File Type: pla QQE.pla (9.9 KB, 61 views)
Reply With Quote
The following user says Thank You to olobay for this post:
 
  #4 (permalink)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,777 since Apr 2013
Thanks: 283 given, 1,061 received

dhiebert,

your code is an indicator that needs an underlying function called QQE, which seems to be missing. You can probably get it somewhere where you got the indicator code.

Regards,
ABCTG


dhiebert View Post
Hoping someone can help me with this code. I have multicharts, thus it uses powerlanguage, which I believe works the same as easylanguage (sorry I'm a newby at this). I found this code online for easylanguage, and am trying to create it for my multicharts. I am getting an error (please see pic attached).

inputs:
double RSIPrice( Close ), { the price to be used in the calculation of the RSI }
int RSILength( 14 ), { the number of bars to be used in the calculation of the RSI }
int RSISmoothLength( 5 ), { the length of the exponential moving average of the
RSI; this value determines the smoothing factor used in the exponential moving
average calculation }
int ATRLength( 27 ), { the length of the exponential moving average of the
true range of the smoothed RSI }
int ATRSmoothLength( 27 ), { the length of the exponential moving average of the
moving average of the true range of the smooth RSI }
double FastATRMult( 2.618 ), { a scaling factor that is multiplied by the moving
average of the moving average of the true range of the smooth RSI }
double SlowATRMult( 4.236 ), { a scaling factor that is multiplied by the moving
average of the moving average of the true range of the smooth RSI }
double SmoothRSIAlertLevel( 50 ) ; { if alerts are enabled for the indicator, an
alert will be triggered if the smoothed RSI crosses the level specified by this
input }
variables:
double RetVal( 0 ), double oSmoothRSI( 0 ),
double oFastTL( 50 ),double oSlowTL( 50 ),
intrabarpersist bool OkToPlot( false ) ;
RetVal = QQE( RSIPrice, RSILength, RSISmoothLength, ATRLength, ATRSmoothLength,
FastATRMult, SlowATRMult, oSmoothRSI, oFastTL, oSlowTL ) ;
{ do not plot until all exponential moving averages have stabilized }
once( CurrentBar > 4 * MaxList( RSILength, RSISmoothLength, ATRLength,
ATRSmoothLength ) )
OkToPlot = true ;
if OkToPlot then begin
Plot1( oSmoothRSI, "SmoothRSI" ) ;
Plot2( oFastTL, "FastTL" ) ;
Plot3( oSlowTL, "SlowTL" ) ;
Plot4( SmoothRSIAlertLevel, "SmRSIAlrtLev" ) ;
{ alerts }
if AlertEnabled then
if oSmoothRSI crosses over SmoothRSIAlertLevel then
Alert( "SmoothRSI crossing over " + NumToStr(SmoothRSIAlertLevel, 5 ) )
else if oSmoothRSI crosses under SmoothRSIAlertLevel then
Alert( "SmoothRSI crossing under " + NumToStr(SmoothRSIAlertLevel, 5 ) );
end ; // if OkToPlot


Reply With Quote
The following user says Thank You to ABCTG for this post:

Reply



futures io > > > > > QQE Code Help Powerlanguage/Easylanguage




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

September Journal Challenge (sponsored by TopstepTrader)

September

Free Elite Membership: Twitter Tuesday and Facebook Friday!

Tue & Fri
 

Trading with Python: Using Machine Learning w/Ran Aroussi [12:30PM ET]

Elite only

TopstepTrader (TBD)

Sep 25

RandBots (TBD)

Sep 27

Anthony Drager (TBD)

Oct 4
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
EasyLanguage VWAP code help MilesT Open E Cry 12 April 18th, 2014 03:01 PM
EasyLanguage Code pequemec EasyLanguage Programming 3 June 21st, 2013 03:48 AM
Money management code in Multicharts PowerLanguage moses MultiCharts 1 March 18th, 2013 06:34 AM
Powerlanguage / Multicharts Strategy Stoploss code Wouter Elite EasyLanguage Automated Trading 10 September 17th, 2012 02:58 PM
PowerLanguage & EasyLanguage How-To's Gadgetman EasyLanguage Programming 14 March 14th, 2012 08:42 PM


All times are GMT -4. The time now is 08:59 PM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, 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
Page generated 2018-09-19 in 0.13 seconds with 15 queries on phoenix