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


QQE Code Help Powerlanguage/Easylanguage
Updated: Views / Replies:1,616 / 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 90,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: 261 since Jul 2011
Thanks: 288 given, 332 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, 57 views)
Reply With Quote
The following user says Thank You to olobay for this post:
 
  #4 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

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


All times are GMT -4. The time now is 12:10 PM.

Copyright © 2017 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 2017-12-15 in 0.12 seconds with 20 queries on phoenix via your IP 54.226.34.209