Metastock Formula

Dear All

I need metastock indicator formula of 5 days breakout indicator for intraday. The same indicator work out well in MT.4 & MT.5 version. Anybody familiar with MT.4 MQL langauge expert can easily convert it into metastock language.This indicator show latest high of previous five day in shape of horizontal line on price chart and vice versa in red color line for previous 5 days latest Low.

I waiting for guys for reply. thanks in anticipation.

Open Indicator Builder - New - "name "

copy paste the following :

highesthigh5:=Ref(HHV(H,5),-1);
lowestlow5:=Ref(LLV(L,5),-1);
highesthigh5;lowestlow5


Plot on chart, change the color of the lines as desired, save as template

Done, enjoy
 

rkkarnani

Well-Known Member
hi
can any one tell me how to protect a indicator with password ,
There might be easier and straight forward methods but what follows also works though maybe a bit cumbersome :

01. Create your indicator.
02. Export the Indicator to a New folder on your system.! (Maybe your desktop, for easily locating it.)
03. While Exporting it will ask for an "optional" Password to protect the Formula.
04. Give the Password.
05. Delete the Indicator from your Metastock.
06. Import the Indicator again into Metastock from Desktop.
07. Now the Indicator shall be "password" protected.
08. Delete the Indicator folder created on Desktop. (Optional).

Trust it helps.
 

Similar threads