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

Notification

Icon
Error

Options
Go to last post Go to first unread
Doskias  
#1 Posted : Sunday, January 20, 2013 7:23:53 AM(UTC)
Doskias

Rank: Newbie

Groups: Registered, Registered Users
Joined: 1/20/2013(UTC)
Posts: 4

Hello, I need some function that sells in a variable price indicated in this formula: fml("sell") This formula is represented Buyprice * %volatility . But I don't know how isolate this valor and recognize the buy signal (close price). Is it possible to create a formula like this? If Developers kit is necessary, I have it, but I don't know how to use heheh. I just know that need a delphi or c++ builder. Thanks for your attention
wabbit  
#2 Posted : Sunday, January 20, 2013 4:12:42 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Have a look in the downloads section of the forum for Roy Larsen's excellent tutorial on using PREV based latches in MS, specifically the latch code which "remembers" the trade entry price.



wabbit [:D]

Doskias  
#3 Posted : Monday, January 21, 2013 7:02:26 PM(UTC)
Doskias

Rank: Newbie

Groups: Registered, Registered Users
Joined: 1/20/2013(UTC)
Posts: 4

thanks for the answer wabbit, but it doesn't work. Its complicated what I want. I'm using tradesim to test my system, and my system has 2 exits. The second exit works using some functions, but the first exit its necessary the function variable exit, but my tradesim version just have the function using % target. I need a exit based on volatility %. The problem is the price of the actual version of tradesim hahaha.
wabbit  
#4 Posted : Wednesday, January 23, 2013 5:59:31 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Huh? I don't understand?


wabbit [:D]

Doskias  
#5 Posted : Thursday, January 24, 2013 10:12:34 AM(UTC)
Doskias

Rank: Newbie

Groups: Registered, Registered Users
Joined: 1/20/2013(UTC)
Posts: 4

Entryprice:= fml("buy")=1 Exitprice:= (((0.1*fml("volatility"))/100)+1)*Entryprice The problem is: the exit price is variable, and I need to fix the target, to the moment that occur the buy signal.
wabbit  
#6 Posted : Thursday, January 24, 2013 3:45:37 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Add to the end of the code:
Code:

exitprice:=valuewhen(1,entryprice,exitprice);
wabbit[:D]
oztrader  
#7 Posted : Thursday, January 24, 2013 4:54:49 PM(UTC)
oztrader

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 7/12/2007(UTC)
Posts: 134
Location: Perth Western Australia

Doskias wrote:
thanks for the answer wabbit, but it doesn't work. Its complicated what I want. I'm using tradesim to test my system, and my system has 2 exits. The second exit works using some functions, but the first exit its necessary the function variable exit, but my tradesim version just have the function using % target. I need a exit based on volatility %. The problem is the price of the actual version of tradesim hahaha.

Check on the TradeSim website but I'm positive an existing owner of the software can download the latest version without charge.

Doskias  
#8 Posted : Friday, January 25, 2013 9:21:38 AM(UTC)
Doskias

Rank: Newbie

Groups: Registered, Registered Users
Joined: 1/20/2013(UTC)
Posts: 4

Thanks for the answer wabbit, I will test... Oztrader, I will check the possibility. Thanks.
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.