TITLE: How much one can earn on a white noise ? 
QUESTION [7 upvotes]: Consider the simplfied math. model for asset price (it is nevertheless quite practical for specific situations see "PS" part below) assume price "p(n)" at moment "n" is equal to N(0,1) - i.i.d - independent Gaussians.
Assume we can possess not more than one  asset in any moment. I.e. if buy it we can keep it or sell it, but cannot buy another until we sold the previous one.
Our profit is accumulation of differences between the prices we bought  and sold.
Informal Question What are the "best" trading strategies ?
Mathematically rigorous  Question 1 What is the strategy which will maximize expectation value of the profit for trading time n=1...N ?
Conjecture (YES/NO) Is it true that the answer to the question above is given by the following simple strategy  if the price is greater than zero  - sell, if less than zero buy.
See MatLab code for details. 
Variations on the question
Profit here is random variable, and what means "best" random variable is ambiguous. The simplest version is to  take expectation as in question above, but more profound measures of quality can be something like E(profit)/std(profit), I mean taking "risk" into account.

Here is MatLab code for simple strategy - buy if price < threshold1, sell if price > threshold2.
Results of simulation suggests that best choice is threshold1=threshold2=0.
It motivates the conjecture above.
enter code herefunction     profit = TradeStrategy2(threshold1, threshold2 )
len = 1e6;
p =  randn(1,len);

flagBought = 0; profit = 0;
for k=1:len
    if (p(k) < threshold1 ) && (flagBought == 0)
        pSave = p(k);
        flagBought = 1;
    elseif (p(k) > threshold2 ) && (flagBought == 1)
        profit  = profit  + (p(k)-pSave) ;
        flagBought = 0;
    end;
end;
fprintf(1,'Strategy 2, threshold1 =, %f, threshold2 =, %f profit/len = , %f, \n ', threshold1, threshold2, profit/len );

profit = profit/len;

end

Simulation results:
Strategy 2, threshold1 =, -0.000000, threshold2 =, 0.000000 profit/len = , 0.398951, 
Strategy 2, threshold1 =, -0.100000, threshold2 =, 0.100000 profit/len = , 0.395956, 
Strategy 2, threshold1 =, -0.100000, threshold2 =, 1.000000 profit/len = , 0.281029, 
Strategy 2, threshold1 =, -1.000000, threshold2 =, 0.100000 profit/len = , 0.281722, 
Strategy 2, threshold1 =, -1.000000, threshold2 =, 1.000000 profit/len = , 0.242517, 
Strategy 2, threshold1 =, -3.000000, threshold2 =, 3.000000 profit/len = , 0.004250, 

Similar questions can be asked for arbitrary random process.
I guess, that the general answer should also be known,
however I have not yet received answer at 
https://quant.stackexchange.com/questions/8110/mathematical-theories-of-sub-optimal-trading-strategies-under-idealized-assu

PS
Motivation for considering such simplified model of the price is the following.
Consider the "trend" part of some real price, the simplest model for the trend is linear trend: p(t) = At + B + noise. The most simple situation is to take A=0.
So we almost come to our model. Please notice that choice of "B" does not affect the optimal stategy, so we can assume it to be zero.
However, physiologically,  it is better to assume it to be B = million or billion - very big number. It will explain the second assumption of the model - you cannot buy two assets at one time - that it is just because your resources are limited - you have 1 million (or billion), but not two.

REPLY [5 votes]: As I already replied to your QSE question, almost any kind of such problem can be solved by means of the dynamic programming discovered by Bellman and deepened by such people as Bertsekas and Shreve to name a few. Btw, the joint work of the latter two, "Stochastic Optimal Control" is one of the best in the field. So are the books written by Shreve on the stochastic analysis and stochastic finance.
No matter which evolution (in discrete-time) of the assets/group of assets you assume, as long as it can be restated in the Markovian form (perhaps, giving up the number/finetness of dimensions), you can apply stochastic optimal control principles as per the reference above. the framework is rather broad - namely you can deal with Borel spaces which is often enough in practice. Moreover, even optimal stopping problems or double optimal stopping problems like the one you are interested in, can be restated as classical additive cost problems if you use enough of auxiliary variables. 
Even writing the dynamic programming recursions/fixpoint equations often gives some intuition for the shape of the optimal strategy. In general, of course, its worth computing the strategy and the value of the optimal control problem - and there is a whole range of approximate dynamic programming methods to you service.

I believe, Waldemar has given a nice answer to your question which didn't require any involved techniques. Let me show though how DP would work.
We have the following Markovian model for the capital of the trader
$$
  \mathbf x_{k+1} = \mathbf x_k + \mathbf u_k(\mathbf z_{k+1} - \mathbf y_k)
$$
$$
  \mathbf y_{k+1} = \mathbf z_{k+1}
$$
where $\mathbf z_k\sim N(0,1)$ is a price, $\mathbf u_k$ is your control variable: it's $1$ when you hold the asset and $0$ otherwise. Also, $\mathbf y_k$ is an auxiliary variable that we use to account for the correlation in price changes. 
Let us fix a time horizon $N>0$, so that the final reward is $r_N(x,y) = x$. We don't have any running cost, so $r(x,y) = 0$. Let $J^*_n(x,y)$ denote the optimal value on the horizon $[n;N]$, so that
$$
  J^*_N(x,y) := c_N(x,y) = x
$$
and we have recursions
$$
  J^*_n(x,y) = \max_u \int_{\Bbb R^2} J^*_{n+1}(x',y')Q(\mathrm dx'\times \mathrm dy'|x,y,u)
$$
where $Q$ is the transition kernel derived from the update equations above. 
Now, by simplifying the dynamics above you get iterations
$$
  J^*_n(x,y) = \max\left(\Bbb E {J^*}_{n+1}(x,Y),\Bbb E {J^*}_{n+1}(X + x-y,Y)\right)
$$
where $\Bbb E$ is taken w.r.t. to iid $X,Y\in N(0,1)$. Doing computations by hand, you'll get for $n = 0,1,2,\dots,N-1$ that
$$
  J^*_n(x,y) = x + (N-n-1)\gamma + y^-
$$
where $y^- := \max(0,-y)$ and $\gamma := \Bbb E Y^-$. Whenever in your iterations you have to find the maximum, you get the optimal decision for $u$. In such a case you just have to decide whether $x$ (corresponding to $u = 0$) or $x-y$ (to $u=1$) is bigger, so that the optimal policy is buy/hold when the price is negative, and sell/don't buy if the price is positive which agrees with outcomes in other answers. The total expected reward is hence
$$
  J^*_0(0,0) = (N-1)\gamma.
$$

REPLY [5 votes]: I'm not sure if I understand the model correctly as it seems to me that the answer here is very natural if you reinterpret your model in terms of expected "price increments" ("price changes"). 
The model assumes that the price level - not change - is given by N(0,1). Thus every time the price is positive the expected increment is negative. If the price level is negative the expected increment is positive. Therefore, the optimal strategy can be stated as: buy if the expected increment is positive and sell if it is negative. Of course it is exactly the conjectured optimal strategy.