Never Lose Again

free & uncensored discussion arena for TheRumpledOne

Moderator: moderators

User avatar
MightyOne
rank: 5000+ posts
rank: 5000+ posts
Posts: 5251
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 46
Gender: Male

Postby MightyOne » Fri Jul 03, 2009 2:52 pm

I know my way around period converters...I tried every which way to get the price to shift and it is just not shifting.

monolisa wrote:Hi deeforex,

I loaded the indicator (with Allow DLL IMport enabled) and set the shift to 2 and period multiplier to 2 - it works. However, if you go back to the setting and change the shift to 3, the offline chart never refresh to reflect the new shift value.

I wonder if the indicator is changed to a script this problem might be resolved.

Comments welcome.

Lis

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
monolisa
rank: 150+ posts
rank: 150+ posts
Posts: 351
Joined: Fri Jun 12, 2009 11:38 am
Reputation: 0
Location: All Quiet on the Western Front
Gender: None specified

Postby monolisa » Fri Jul 03, 2009 4:41 pm

Hi MO,

I notice the time displayed on the offline chart is quite deceiving.

For example if you set multiplier as 12 and shift as 2, logically you would expect the candle on the offline chart would show 0200, 1400, 0200 etc. However, due to whatever reason, the chart shows 0000, 1200, 0000 etc. If you check the price of each candle the price does conform to the shift value defined.

Wonder if this is a limitation of MT4 offline charts...

Lis
"Know your enemy and know yourself, find naught in fear for 100 battles. Know yourself but not your enemy, find level of loss and victory. Know neither your enemy or yourself, wallow in defeat every time." - Sun Tzu

User avatar
MightyOne
rank: 5000+ posts
rank: 5000+ posts
Posts: 5251
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 46
Gender: Male

Postby MightyOne » Fri Jul 03, 2009 4:43 pm

I found the customcandle6 indi to be glitchy and unusable for my purposes.

Here are all a features a working (on all time frames) custom candle needs.

1. Connect an open to a close (number of bars)
2. Start time
3. Shift from start time

I am not a coder, but I don't think that it is that difficult.

Here, I did it by hand ;) :

Image

User avatar
monolisa
rank: 150+ posts
rank: 150+ posts
Posts: 351
Joined: Fri Jun 12, 2009 11:38 am
Reputation: 0
Location: All Quiet on the Western Front
Gender: None specified

Postby monolisa » Fri Jul 03, 2009 4:57 pm

Hi MO,

I agree that customcandle6 isn't the best indi out there, more work definitely need to be done.

Anyway, I did give it a try based on your chart (see attached).

I imagine that an indicator that is intelligent enough to plot the candles for us by doing just one step - connecting the open and close price of the starting and ending candle. By calculating the time difference between the starting and ending candle the indi should be able to identify the custom period and the proper start time and shift period.

TRO might be able to help :)

BTW, nice mighty zone trade on GBPUSD using custom period.

Lis
Attachments
mo7.gif
mo7.gif (33.11 KiB) Viewed 3194 times
"Know your enemy and know yourself, find naught in fear for 100 battles. Know yourself but not your enemy, find level of loss and victory. Know neither your enemy or yourself, wallow in defeat every time." - Sun Tzu

User avatar
MightyOne
rank: 5000+ posts
rank: 5000+ posts
Posts: 5251
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 46
Gender: Male

Postby MightyOne » Fri Jul 03, 2009 6:11 pm

I don't know...

I think the chart needs a few squiggly lines and an Awesome Oscillator so I can better interpret where price is going :lol:

Image

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
monolisa
rank: 150+ posts
rank: 150+ posts
Posts: 351
Joined: Fri Jun 12, 2009 11:38 am
Reputation: 0
Location: All Quiet on the Western Front
Gender: None specified

Postby monolisa » Fri Jul 03, 2009 6:19 pm

Hi MO,

Are you being sarcastic about the squiggly and oscillator? I thought these two words are banned in Krelik? :P

Lis
"Know your enemy and know yourself, find naught in fear for 100 battles. Know yourself but not your enemy, find level of loss and victory. Know neither your enemy or yourself, wallow in defeat every time." - Sun Tzu

User avatar
MightyOne
rank: 5000+ posts
rank: 5000+ posts
Posts: 5251
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 46
Gender: Male

Postby MightyOne » Fri Jul 03, 2009 6:30 pm

Of course I am being sarcastic :shock:

You would think those two words would be banned, but every time I turn around someone is adding a new squiggly and/or oscillator to their charts.

Squiggly and Oscillators sort of remind me of the Facehugger from the movie Aliens...

No you cannot see the market better when they leach onto your face!

Image

monolisa wrote:Hi MO,

Are you being sarcastic about the squiggly and oscillator? I thought these two words are banned in Krelik? :P

Lis

User avatar
monolisa
rank: 150+ posts
rank: 150+ posts
Posts: 351
Joined: Fri Jun 12, 2009 11:38 am
Reputation: 0
Location: All Quiet on the Western Front
Gender: None specified

Postby monolisa » Fri Jul 03, 2009 6:43 pm

Hi MO

From the look of the GBPUSD daily chart using custom candle, if price goes down to and break the last 2 weeks low in the next few days there is a possibilty of a prolonged downtrend?

I make such conclusion based on PA alone, no S&O :P

Thanks.

Lis
"Know your enemy and know yourself, find naught in fear for 100 battles. Know yourself but not your enemy, find level of loss and victory. Know neither your enemy or yourself, wallow in defeat every time." - Sun Tzu

User avatar
MightyOne
rank: 5000+ posts
rank: 5000+ posts
Posts: 5251
Joined: Wed Dec 10, 2008 6:33 pm
Reputation: 46
Gender: Male

Postby MightyOne » Fri Jul 03, 2009 7:11 pm

Bodies show the way...

monolisa wrote:Hi MO

From the look of the GBPUSD daily chart using custom candle, if price goes down to and break the last 2 weeks low in the next few days there is a possibilty of a prolonged downtrend?

I make such conclusion based on PA alone, no S&O :P

Thanks.

Lis

deeforex
rank: 50+ posts
rank: 50+ posts
Posts: 99
Joined: Tue Oct 31, 2006 5:46 pm
Reputation: 0
Gender: None specified

Postby deeforex » Fri Jul 03, 2009 8:05 pm

MightyOne wrote:I know my way around period converters...I tried every which way to get the price to shift and it is just not shifting.


I'm not sure why my initial tests showed that it was working and so did Monalisa's. I tried loading them again with your example of a 9hr bar. That did not prove fruitful. I looked through the code and saw that there's a bug in there.

Code: Select all

   shift = Period() * 60 * TimeShift;
//i_time = (Time[start_pos]-shift)/ps; //WRONG!!!
   i_time = (Time[start_pos-shift])/ps; //Correction, deeforex


if TRO gets a chance, he might want to confirm that the correction I made is in fact correct. I'm not a coder.

I took these screen shots and they seem to say that everything is ok now.

The 1 hr chart that I loaded period converter onto. broker, MBTrading
Image

TimeShift equal -1 (negative 1), previous hourly bar
Image

TimeShift equal 1 (positive 1), "future" hourly bar
Image

MO, when you get a moment, could you please test to see if this corrected version works? I will be very interested to see how you are using this :wink:


dee
Attachments
PeriodConverterOpt_v1.5_TimeShift.mq4
(16.09 KiB) Downloaded 154 times

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “TheRumpledOne”