TheRumpledOne is now coding FREE indicators for MT4

Hi TRO, can you convert this metastock to metatrader4?
//-------------------------------------------------------------------
Support & Resistance - Peaks/Troughs
{ Support & Resistance v2.0 }
{ Plots support/resistance levels based on
normal or hindsight peaks/troughs }
{ ŠCopyright 2004 Jose Silva }
{ MetaStockTools.com }

{ User inputs }
plot:=Input("[1]Support, [2]Resistance, [3]Both, [4]Combination",1,4,3);
x:=Input("use [1]High/Low, [2]Close",1,2,1);
type:=Input("Type: [1]Normal, [2]Hindsight",
1,2,1);
depth:=Input("Peak/Trough minimum depth (0~50%)",0,50,5);
pds:=Input("Peak/Trough period base (3~252)",
3,252,5);

{ Price field }
xHi:=If(x=1,H,C);
xLo:=If(x=1,L,C);

{ Non-hindsight Support/Resistance }
Hi:=
(HHV(xHi,pds-1)>xHi)>Ref(HHV(xHi,pds-1)>xHi,-1);
HiVal1:=ValueWhen(1,Hi,Ref(xHi,-1));
Lo:=
(LLV(xLo,pds-1)<xLo)>Ref(LLV(xLo,pds-1)<xLo,-1);
LoVal1:=ValueWhen(1,Lo,Ref(xLo,-1));
Hi:=Hi AND HiVal1>LoVal1*(1+depth/100);
Lo:=Lo AND LoVal1<HiVal1*(1-depth/100);
supp:=ValueWhen(1,Lo,Ref(xLo,-1));
res:=ValueWhen(1,Hi,Ref(xHi,-1));
comb:=If(BarsSince(Hi)<BarsSince(Lo),res,supp);

{ Hindsight Support/Resistance }
pkH:=PeakBars(1,xHi,depth);
trH:=TroughBars(1,xLo,depth);
suppH:=Trough(1,xLo,depth);
resH:=Peak(1,xHi,depth);
combH:=If(pkH<trH,resH,suppH);

{ Chosen Support/Resistance }
supp:=If(type=1,supp, suppH);
res:=If(type=1,res,resH);
comb:=If(type=1,comb,combH);

{ Plot on price chart }
If(plot=1,supp,If(plot=2,res,
If(plot=3,res,comb)));
If(plot=1,supp,If(plot=2,res,
If(plot=3,supp,comb)))

//-----------------------------------------------------

i found this code here : Support & Resistance - Peaks/Troughs by Jose Silva Metastock Indicators Forex Trading Systems - XEATrade - Metatrader, Metastock, Tradestation, Amibroker - indicators, expert
and the stroy for peak and trough can be found here : Peak-and-Trough Analysis

thanks and merry christmas
 
Hi Tro
A big thanks from me for your code. You've inspired me to do my own mt4 coding. I do like the simplicity of your buy zone system. Of course adding a filter for when not to trade it is going to make a huge difference.

I've noticed you seem to get a lot of flack on these forums. I see nothing wrong with your business model. People who believe they can get something for nothing are often criminals or traders. : )
Reality is: "Giving is receiving" ACIM

peace to all
from sabtrader
 
2009.04.21 TRO MULTIMETER BB TREND

v5eedi.gif


2nptz.gif


Someone sent me THIS and I created the TRO MULTIMETER BB TREND indicator.
 
2009.05.11 TRO_MM_REVERSAL

v30cxl.gif


Since so many people downloaded it, I coded a multi meter version of the TRO Reversal indicator.

FREE MT4 version of TRO_MM_REVERSAL, including SOURCE CODE, has been posted where I post my code.
 
hi TheRumpledOne, i have trading system can you do modified to be digital indicator,
i mean strong buy, strong sell and sideway,

here is my trading system
1-24.gif
 
Indicators

thank you so much,
here i was attach this trading system include template for your review,
thank you again

Hi Roziex

Sorry for jumping in on the thread, but I like the look of your indicators especially for the stops......but can't seem to load them into my MT4??!! What do i need to do?

I am fairly new with MT4 and have been using a fairly simple template and indicators..just following trends and buying/selling Support and Resistance etc

Thanks
________________________

The hardest way to make an easy living.......
 
You need to tell me what the entry triggers are so I can code them.

entry triggers they are same colour,
i attach the SS for your review,
and please ingore indicator at window #2, that's indicator it's to lagging,
 

Attachments

  • therock.gif
    therock.gif
    31.1 KB · Views: 54,997
2rf9afp.gif


2q1ar0j.gif


VOLUME SPREAD ANALYSIS (VSA) is used successfully in the stock market. Read about VSA HERE. The article shows a forex example. There is a debate that VSA doesn't work for Forex because Forex is NOT a consolidated market and dealers would NOT give you accurate tick/volume data because you could then determine their volume flow. Finally, SMART MONEY is not trading with retail brokers.

A more in depth read on VSA can be found HERE

Others have coded indicators for VSA.

Someone sent me this LINK.

Stopping Volume Pattern (Emini 5 minute)

Professional profit taking is occurring when the following conditions are met:

* Volume is greater than the previous bar's volume
* Range is less than the previous bar's range
* A new high is made (in an uptrend) or a new low (in a downtrend), and
* Closes off the highs (in an uptrend) or off the lows (in a downtrend)

The reduction in the bar's range is the real key. It shows that additional selling (in an uptrend) or additional buying (in a downtrend) is keeping the bar's range low. So Professional traders are taking profits and/or "fading" the current trend.

You will almost always see Stopping Volume patterns leading up to a market turning point. However, if the trend is strong it might take several Stopping Volume patterns in a row to slow the trend. Remember, most turning points are Stopping Volume patterns, but not all Stopping Volume patterns are turning points!

I modified and created some volume spread analysis indicators ( SEE CHARTS ABOVE )
 
2rf9afp.gif


2q1ar0j.gif


VOLUME SPREAD ANALYSIS (VSA) is used successfully in the stock market. Read about VSA HERE. The article shows a forex example. There is a debate that VSA doesn't work for Forex because Forex is NOT a consolidated market and dealers would NOT give you accurate tick/volume data because you could then determine their volume flow. Finally, SMART MONEY is not trading with retail brokers.

A more in depth read on VSA can be found HERE

Others have coded indicators for VSA.

Someone sent me this LINK.

Stopping Volume Pattern (Emini 5 minute)

Professional profit taking is occurring when the following conditions are met:

* Volume is greater than the previous bar's volume
* Range is less than the previous bar's range
* A new high is made (in an uptrend) or a new low (in a downtrend), and
* Closes off the highs (in an uptrend) or off the lows (in a downtrend)

The reduction in the bar's range is the real key. It shows that additional selling (in an uptrend) or additional buying (in a downtrend) is keeping the bar's range low. So Professional traders are taking profits and/or "fading" the current trend.

You will almost always see Stopping Volume patterns leading up to a market turning point. However, if the trend is strong it might take several Stopping Volume patterns in a row to slow the trend. Remember, most turning points are Stopping Volume patterns, but not all Stopping Volume patterns are turning points!

I modified and created some volume spread analysis indicators ( SEE CHARTS ABOVE )

A fellow trader ask me to test this system.

I am really surprise, to discover, the repainting of the number 3, went jumping
from 2 candles to up to 10 candles. That's about 80 pips drifting from the first time
it appears.

On non-live chart it does look good,SO please have a lot cautious trading
if you on live trades. 80pips drift is not small. Do you think so?
 
Has anyone tried programming some of these indicators together into an EA? Indicators have rules that I am sure could be programmed into an ea.
 
System do not win.

Traders win.

The question to ask is "does this system/method have a positive expectancy"?

Then, you can apply your risk management and money management to it.
 
Hi TRO,
You will probably have coded this request before but what i am looking for are indicators for particular bars.

I would like an arrow and preferabley a text label for shooting star , hammer , inverted hammer, hanging man and doji, i have added a picture to show what i mean.

I have done them both in red text and arrows but preference would be red for sort and blue for long signals.

Hope you can help no problem if not
 

Attachments

  • rev bars.jpg
    rev bars.jpg
    60.4 KB · Views: 931
Top