Hi MR.
The program writes the code, but true, it takes a lot of time to understand how it all works, and get it to do what you want.
I had to input my custom indicator because it has multiple Moving Averages [took me a long time to get it right].
If you find it defaults to a daily chart,
change the time frame to 2 Hours.
Go to 'Set ProScreener'
then 'Modify ProScreener'
then '3. Selection of Period'
Select 2 Hours
This was the only bug I encountered.
Below are 5,10,15minute and 30m,1,2H
Cheers,
U2
__________________________________________________
Period=16
REM The following code is related to this timescale:
TIMEFRAME(5 minutes)
indicator1 = TEMA[5](low)
indicator2 = TEMA[5](low)
c1 = (indicator1 CROSSES OVER indicator2[1])
REM The following code is related to this timescale:
TIMEFRAME(5 minutes)
indicator3 = TEMA[5](low)
indicator4 = TEMA[5](low)
c2 = (indicator3 CROSSES UNDER indicator4)
REM The following code is related to this timescale:
TIMEFRAME(10 minutes)
indicator5 = TEMA[8](low)
indicator6 = TEMA[8](low)
c3 = (indicator5 CROSSES OVER indicator6)
REM The following code is related to this timescale:
TIMEFRAME(10 minutes)
indicator7 = TEMA[8](low)
indicator8 = TEMA[8](low)
c4 = (indicator7 CROSSES UNDER indicator8)
REM The following code is related to this timescale:
TIMEFRAME(15 minutes)
indicator9 = TEMA[5](low)
indicator10 = TEMA[5](low)
c5 = (indicator9 CROSSES OVER indicator10)
REM The following code is related to this timescale:
TIMEFRAME(15 minutes)
indicator11 = TEMA[5](low)
indicator12 = TEMA[5](low)
c6 = (indicator11 CROSSES UNDER indicator12)
REM The following code is related to this timescale:
TIMEFRAME(5 minutes)
indicator13=WeightedAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
indicator14=TriangularAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
c7 = (indicator13 CROSSES OVER indicator14)
REM The following code is related to this timescale:
TIMEFRAME(5 minutes)
indicator15=WeightedAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
indicator16=TriangularAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
c8 = (indicator15 CROSSES UNDER indicator16)
REM The following code is related to this timescale:
TIMEFRAME(10 minutes)
indicator17=WeightedAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
indicator18=TriangularAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
c9 = (indicator17 CROSSES OVER indicator18)
REM The following code is related to this timescale:
TIMEFRAME(10 minutes)
indicator19=WeightedAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
indicator20=TriangularAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
c10 = (indicator19 CROSSES UNDER indicator20)
REM The following code is related to this timescale:
TIMEFRAME(15 minutes)
indicator21=WeightedAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
indicator22=TriangularAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
c11 = (indicator21 CROSSES OVER indicator22)
REM The following code is related to this timescale:
TIMEFRAME(15 minutes)
indicator23=WeightedAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
indicator24=TriangularAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
c12 = (indicator23 CROSSES UNDER indicator24)
REM The following code is related to this timescale:DEFAULT
TIMEFRAME(DEFAULT)
SCREENER[c1 OR c2 OR c3 OR c4 OR c5 OR c6 OR c7 OR c8 OR c9 OR c10 OR c11 OR c12] (Variation AS "% Chg prev bar")
_______________________________________________________
Period=16
REM The following code is related to this timescale:30 minutes
TIMEFRAME(30 minutes)
indicator1 = TEMA[5](low)
indicator2 = TEMA[5](low)
c1 = (indicator1 CROSSES OVER indicator2[1])
REM The following code is related to this timescale:30 minutes
TIMEFRAME(30 minutes)
indicator3 = TEMA[5](low)
indicator4 = TEMA[5](low)
c2 = (indicator3 CROSSES UNDER indicator4)
REM The following code is related to this timescale:1 hours
TIMEFRAME(1 hour)
indicator5 = TEMA[8](low)
indicator6 = TEMA[8](low)
c3 = (indicator5 CROSSES OVER indicator6)
REM The following code is related to this timescale:1 hours
TIMEFRAME(1 hour)
indicator7 = TEMA[8](low)
indicator8 = TEMA[8](low)
c4 = (indicator7 CROSSES UNDER indicator8)
REM The following code is related to this timescale:2 hours
TIMEFRAME(2 hour)
indicator9 = TEMA[5](low)
indicator10 = TEMA[5](low)
c5 = (indicator9 CROSSES OVER indicator10)
REM The following code is related to this timescale:2 hours
TIMEFRAME(2 hours)
indicator11 = TEMA[5](low)
indicator12 = TEMA[5](low)
c6 = (indicator11 CROSSES UNDER indicator12)
REM The following code is related to this timescale:30 minutes
TIMEFRAME(30 minutes)
indicator13=WeightedAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
indicator14=TriangularAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
c7 = (indicator13 CROSSES OVER indicator14)
REM The following code is related to this timescale:30 minutes
TIMEFRAME(30 minutes)
indicator15=WeightedAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
indicator16=TriangularAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
c8 = (indicator15 CROSSES UNDER indicator16)
REM The following code is related to this timescale:1 hours
TIMEFRAME(1 hour)
indicator17=WeightedAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
indicator18=TriangularAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
c9 = (indicator17 CROSSES OVER indicator18)
REM The following code is related to this timescale:1 hours
TIMEFRAME(1 hour)
indicator19=WeightedAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
indicator20=TriangularAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
c10 = (indicator19 CROSSES UNDER indicator20)
REM The following code is related to this timescale:2 hours
TIMEFRAME(2 hours)
indicator21=WeightedAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
indicator22=TriangularAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
c11 = (indicator21 CROSSES OVER indicator22)
REM The following code is related to this timescale:2 hours
TIMEFRAME(2 hours)
indicator23=WeightedAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
indicator24=TriangularAverage[sqrt(Period)](2*Tema[(Period/2)](close)-Tema[Period](close))
c12 = (indicator23 CROSSES UNDER indicator24)
REM The following code is related to this timescale:DEFAULT
TIMEFRAME(DEFAULT)
SCREENER[c1 OR c2 OR c3 OR c4 OR c5 OR c6 OR c7 OR c8 OR c9 OR c10 OR c11 OR c12] (Variation AS "% Chg prev bar")
eurusd topping?, page-71
-
- There are more pages in this discussion • 4 more messages in this thread...
You’re viewing a single post only. To view the entire thread just sign in or Join Now (FREE)
Featured News
Add EUR (FOREX) to my watchlist