logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Bulli  
#1 Posted : Tuesday, September 27, 2005 1:06:26 AM(UTC)
Bulli

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 9/26/2005(UTC)
Posts: 185
Location: Brazil

HI How can I find the low of the peak bar? Thanks, Bulli
Jose  
#2 Posted : Tuesday, September 27, 2005 1:55:04 AM(UTC)
Jose

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/19/2005(UTC)
Posts: 1,065
Location: Koh Pha-Ngan, Earth

Was thanked: 2 time(s) in 2 post(s)
Bulli, use the ValueWhen() function. jose '-)
Bulli  
#3 Posted : Tuesday, September 27, 2005 3:22:46 AM(UTC)
Bulli

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 9/26/2005(UTC)
Posts: 185
Location: Brazil

Thank you :D Sometimes it just gives Blanks ](*,) Bulli
StorkBite  
#4 Posted : Tuesday, September 27, 2005 4:13:56 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
Quote:
How can I find the low of the peak bar?
Hey Bulli- If you have worked out something in your code that answers the original question, please post your results here for others to share. Thanks! :D
Bulli  
#5 Posted : Tuesday, September 27, 2005 5:06:03 PM(UTC)
Bulli

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 9/26/2005(UTC)
Posts: 185
Location: Brazil

I am writing an Expert (for the past few months, still a long way to finish or I should say it will never finish due to constant updating) I am trying to put together an Expert to give my trading signals based on the best signals each system I have tried would offer, and then I am eliminating the bad signals with filters. (I do not do back testing, do not like it, I prefer to do a forward testing with real Market data at the heat of the battle), back testing removes a very important element from the fight, EMOTIONS. The system could be very good on paper or even the best, BUT would I dare to take the signals in REAL LIFE when real money is at stake?! After adding more pieces I am checking the signals against the market information and removing the conflicting signals inside the Expert. An example I am getting MACD Bullish from one formula but getting MACD Bearish from another, I would check which should stay and which should go out. Remember this expert is actually at least 100 Experts together (cannot really tell any more; I mean if you put its code in Word, would be about 11 pages long mostly small fonts) I cannot post the Expert as some parts of it are copyright. But I can tell why I needed the formula, I am comparing the peak low to some performance guide, as usually you cannot sell at the Peak high as it lasts just a few seconds at times. But the low you can still do something or at least a bar close to it. I mean if the Expert does not give signals you can take and act upon so what is the use; if it only gives the signals after it is too late. The performance of 3 months and 1 year: 3 Months: writeif(roc(C,63,%)>0,"writeval(roc(C,63,%))%","writeval(roc(C,63,%))%") 12 Months: writeif((((Close/valuewhen(1,year()<>ref(year(),-1),C))-1)*100)>0,"writeval(((C/valuewhen(1,year()<>ref(year(),-1),C))-1)*100)%","writeval(((C/valuewhen(1,year()<>ref(year(),-1),C))-1)*100)%") In the Brazilian market, your choices of companies are limited compared the US Market; we have about 300 companies listed, only about 20% worth a while. oz_pdt_02y We are talking about 60 companies that is all. But this gives me the chance to be able to check all of them on a daily basis if I want to :lol: . Best regards, Bulli
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.