The ideas that I trade by:

free & uncensored discussion arena for TheRumpledOne

Moderator: moderators

jrtrading
rank: 150+ posts
rank: 150+ posts
Posts: 387
Joined: Mon Dec 01, 2014 9:04 am
Reputation: 39
Gender: None specified

Re: The ideas that I trade by:

Postby jrtrading » Mon Dec 28, 2015 9:59 am

MightyOne wrote:Why does this script delete pending but fail to close orders?
Someone point me to the obvious :lol:


It is the nesting here, I believe:

Code: Select all

if(OrderType() > 1) {
     if(OrderDelete(OrderTicket() )) Print(OrderTicket()," Order Deleted!");
}
 else{..}

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

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

Re: The ideas that I trade by:

Postby MightyOne » Mon Dec 28, 2015 6:47 pm

jrtrading wrote:
It is the nesting here, I believe:


Thanks jrtrading, I corrected the code and it seems to work now:


Code: Select all

#property strict
//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart()
{
   double price = 0;
   int total = OrdersTotal();
   for (int i=total-1; i>=0;i--)
      {
      if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES) )
      if(OrderSymbol() != Symbol() )continue;
      if(OrderType() >1)
         {
         if(OrderDelete(OrderTicket() ))Print(OrderTicket()," Order Deleted!");
         }
      else
      if(OrderType()==0) price =Bid;
      else price = Ask;
      if(OrderClose(OrderTicket(),OrderLots(),price,30,clrRed))Print(OrderTicket()," Order Closed!");
      else Print(OrderTicket()," Did not close! ",GetLastError() );
      }   
}

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

Re: The ideas that I trade by:

Postby MightyOne » Tue Jan 12, 2016 8:58 am

I was just curious...

I think that it will move in the 35 to 39 Baht range.

I have decided to contain some of the steep moves that I would normally cut through if it were
any other currency because I feel that, with the extreme congestion, price is defining bounds rather
than spiking through them.

IDK, we'll see what happens :lol:

THAI_BAHT.png
THAI_BAHT.png (47.67 KiB) Viewed 1042 times

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

Re: The ideas that I trade by:

Postby MightyOne » Sun Jan 17, 2016 5:08 am

Check this out

How awesome would it be if it actually works?

http://iamili.com/

jrtrading
rank: 150+ posts
rank: 150+ posts
Posts: 387
Joined: Mon Dec 01, 2014 9:04 am
Reputation: 39
Gender: None specified

Re: The ideas that I trade by:

Postby jrtrading » Mon Jan 18, 2016 5:30 pm

Hi MightyOne

I wanted to ask, in addition to space/accumulation, what do you think about studying psychology?
Thanks.

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

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

Re: The ideas that I trade by:

Postby MightyOne » Mon Jan 18, 2016 6:05 pm

jrtrading wrote:Hi MightyOne

I wanted to ask, in addition to space/accumulation, what do you think about studying psychology?
Thanks.


You should study psychology every time you place a trade :lol:

If you cannot understand yourself then how can you understand someone else?

jrtrading
rank: 150+ posts
rank: 150+ posts
Posts: 387
Joined: Mon Dec 01, 2014 9:04 am
Reputation: 39
Gender: None specified

Re: The ideas that I trade by:

Postby jrtrading » Mon Jan 18, 2016 6:11 pm

MightyOne wrote:
jrtrading wrote:Hi MightyOne

I wanted to ask, in addition to space/accumulation, what do you think about studying psychology?
Thanks.


You should study psychology every time you place a trade :lol:

If you cannot understand yourself then how can you understand someone else?


Ok, thanks for your reply.
I have been thinking about doing this exercise, I think it may have been you who proposed it years ago.
When first sitting down at the computer just draw a horizontal line at current price and trade away from it.
If I am able to do that as an exercise, then putting that line close to an extreme (as in e.g. Bredins video and your teachings) should be great.

User avatar
dojirock
rank: 1000+ posts
rank: 1000+ posts
Posts: 1721
Joined: Tue Nov 17, 2009 10:11 pm
Reputation: 322
Gender: Male
Contact:

Re: The ideas that I trade by:

Postby dojirock » Tue Jan 19, 2016 2:09 am

Thats all it is.....

Its all about the line....
yet so many refuse to believe it....

:D
It always takes Momentum to break Momentum!
"A small loss is just as satisfying as a large gain" -MO
"Sometimes we need to stop learning and start thinking...."
"Once you stack, you'll never go back!"

User avatar
dojirock
rank: 1000+ posts
rank: 1000+ posts
Posts: 1721
Joined: Tue Nov 17, 2009 10:11 pm
Reputation: 322
Gender: Male
Contact:

Re: The ideas that I trade by:

Postby dojirock » Tue Jan 19, 2016 3:04 am

I have spent some time on Tradingview just so I could basket trade with the USDollar Index. Im amazed at how many traders Blow out there screens with junk. All kinds of indicators. Charts are just a reflection of criteria set by wall street to draw price. How many have really thought about that?
Really thought about that? My point being in complete agreement with TRO's Philosophy when it comes to trading. A Line. Pure and simple.
I have found my own calculation based on price to give me my lines. Entry without a doubt is at these lines. What makes my lines? I wont disclose that but believe me there are thousands of ways to come up with working lines. Mine is not the only way. These lines have nothing to do with a time chart. The calculation works on any chart. Why? Because its a predetermined way of placing them.

In the pics, only 3 entries and 2 exits on the 1st chart. My manual trading chart. 48 points ($20 a point). WTH?? How many points does one need in an hour?
Its not hard to figure out that I exit when I get an inner bar. I dont have a calculated line for exits. Just entries.

The second chart is a bot trading the same lines on steroids due to it efficiencies that I dont have manually trading it. Again 3 points at a time. In an hour!

My main reason for posting this is due to emails I still get about trading. It intrigues me for some reason to see some traders still struggling that have done the time here on Kreslik and still flounder. I hope this encourages them to think more freely, simplistically. To echo TRO, again, its about a line. Using Tro's Line methodology or whatever, I encourage traders to look at a chart, place a line, and really look at it...... Its all you need.....you will be amazed at what can happen.

doji
2016-01-18_2132.png
2016-01-18_2132.png (38.42 KiB) Viewed 1403 times
2016-01-18_2144.png
2016-01-18_2144.png (52.11 KiB) Viewed 1403 times
It always takes Momentum to break Momentum!
"A small loss is just as satisfying as a large gain" -MO
"Sometimes we need to stop learning and start thinking...."
"Once you stack, you'll never go back!"

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

Re: The ideas that I trade by:

Postby MightyOne » Tue Jan 19, 2016 4:11 am

Thanks for taking the time to post doji :smt023

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


Return to “TheRumpledOne”